kenjis
d83baa644a
test: change method names
2022-09-30 19:41:03 +09:00
kenjis
68b50b779d
docs: remove incorrect docmment
2022-09-30 19:39:35 +09:00
kenjis
d0ca3e6615
test: fix test data
...
$cleanValidationRules removes rules for missing keys.
2022-09-30 19:32:27 +09:00
kenjis
756ebfe71c
fix: required_with does not work in Model updates with Entity
...
1. Validation in insert()/insertBatch() always uses entire rules (force to set $this->cleanValidationRules = false).
2. Validation in update()/updateBatch()/replace() uses $this->cleanValidationRules value.
3. You can change $this->cleanValidationRules value with cleanRules().
4. If $this->cleanValidationRules = false, get all data ($onlyChanged = false) from the Entity.
2022-09-29 11:30:24 +09:00
Denny Septian Panggabean
23be5bfa9e
test: rename getPageURI test
...
Co-authored-by: kenjis <kenji.uui@gmail.com>
2022-09-28 09:43:20 +07:00
Denny Septian Panggabean
b9056a4647
test: rename getPageURI test
...
Co-authored-by: kenjis <kenji.uui@gmail.com>
2022-09-28 09:43:20 +07:00
ddevsr
c9b01e8757
tests: added test getPageURI return object in Pager
2022-09-28 09:43:20 +07:00
ddevsr
fd883ec6cd
docs: replace type pager
2022-09-28 09:43:19 +07:00
ddevsr
3a3531ba59
docs: replace type in Pager
2022-09-28 09:42:49 +07:00
kenjis
670e39520b
test: remove duplicate statement
2022-09-27 16:42:55 +09:00
kenjis
c3e2582b4b
Merge pull request #6587 from kenjis/fix-test-dynamic-properties
...
test: remove dynamic properties
2022-09-27 07:21:22 +09:00
kenjis
f5069f00ab
test: use anonymous class instead of concrete class
2022-09-26 11:11:33 +09:00
kenjis
26c7daa8bd
test: use anonymous class instead of concrete class
...
tests/_support/Config/Validation.php is not reused.
2022-09-26 10:57:38 +09:00
kenjis
6da8898576
Merge pull request #6586 from kenjis/fix-dynamic-properties
...
test: remove Registrar tests for dynamic property
2022-09-25 19:56:40 +09:00
MGatner
b9ab936e18
Merge pull request #6582 from ddevsr/fix-inconsistent-newline
2022-09-25 06:42:46 -04:00
MGatner
20a011a1e1
Merge pull request #6579 from ddevsr/text-helper
2022-09-25 06:27:18 -04:00
kenjis
da4040aee3
test: add missing property in TestHandler
...
ErrorException: Creation of dynamic property Tests\Support\Log\Handlers\TestHandler::$destination is deprecated
2022-09-25 13:05:37 +09:00
kenjis
c9ff6b1a2e
test: remove dynamic property in FactoriesTest
2022-09-25 13:05:09 +09:00
kenjis
f788d4605c
test: remove dynamic property in ControllerTest
2022-09-25 13:04:29 +09:00
kenjis
6fa6534917
fix: remove tests for dynamic properties
...
We do not use dynamic properties.
2022-09-25 12:52:48 +09:00
Denny Septian Panggabean
62cdc54e37
Update tests/system/Helpers/TextHelperTest.php
...
Co-authored-by: John Paul E. Balandan, CPA <51850998+paulbalandan@users.noreply.github.com>
2022-09-24 22:46:28 +07:00
Denny Septian Panggabean
8b2628b8d0
fix: inconsistent new line view in date_helper
2022-09-24 14:17:41 +07:00
kenjis
09028f6f42
Merge pull request #6575 from ddevsr/tests-helper-date
...
tests: added test for `timezone_select` function in Date Helper
2022-09-24 08:21:25 +09:00
kenjis
b2dc24369e
Merge pull request #6572 from ddevsr/test-table-coverage
...
tests: increase coverage `TableTest`
2022-09-24 08:14:40 +09:00
kenjis
83fc0f950d
Merge pull request #6570 from kenjis/fix-csp-autoNonce
...
fix: CSP autoNonce = false
2022-09-24 08:13:18 +09:00
Denny Septian Panggabean
ac79ec3926
tests: increase case word_cencor in text helper
2022-09-23 23:51:10 +07:00
ddevsr
06fdf51066
tests: added test for timezone_select function
2022-09-23 16:19:15 +07:00
ddevsr
0db600986b
tests: increase coverage TableTest
2022-09-23 10:04:53 +07:00
kenjis
60d5e76ed4
refactor: run rector and php-cs-fixer
2022-09-23 11:58:10 +09:00
kenjis
12e2a8d506
Merge pull request #6567 from kenjis/test-SiteUrlTest
...
test: add test cases in SiteUrlTest
2022-09-23 11:33:09 +09:00
kenjis
91400413a6
fix: CSP header is not emitted when $autoNonce is false
2022-09-23 08:11:52 +09:00
kenjis
eafb028fdd
test: improve test
...
It was a bit difficult to read the code.
2022-09-23 07:33:48 +09:00
ddevsr
e5ec9c3d9a
tests: added tableTest coverage
2022-09-22 17:28:23 +07:00
MGatner
b65156e7a2
Merge pull request #6550 from ddevsr/fix-doctype-parser-filters
2022-09-22 05:51:09 -04:00
kenjis
a8566c336b
test: add test cases
2022-09-22 17:02:19 +09:00
kenjis
3ac348b6a7
test: add tests for required_without
2022-09-21 16:13:58 +09:00
kenjis
295525347d
docs: use classname alias
2022-09-19 07:16:45 +09:00
Denny Septian Panggabean
c81ee0b5ad
tests: added sample tests in setData
2022-09-18 20:44:24 +07:00
kenjis
7e92bc476a
test: add test
2022-09-16 11:53:25 +09:00
kenjis
7a30b75acc
test: update $response->setCookie() test
2022-09-16 11:53:25 +09:00
kenjis
47ab7c5acc
fix: set_cookie() does not use Config\Cookie values
2022-09-16 11:53:24 +09:00
ddevsr
1e29953489
fix: delete line reset header & footer
2022-09-14 10:23:18 +07:00
Denny Septian Panggabean
cd8d388d7d
fix: table attribute cannot applied on td element
2022-09-13 21:36:02 +07:00
John Paul E. Balandan, CPA
7c46044605
Enable ensure_single_space
option of whitespace_after_comma_in_array
2022-09-13 10:30:26 +08:00
MGatner
e1dbce0b79
Merge pull request #6499 from ping-yee/test-TestCaseTest
2022-09-10 07:47:54 -04:00
ping-yee
8030ae050c
cs-fix
2022-09-10 02:21:17 +08:00
ping-yee
13a3248859
add: setup function
2022-09-09 19:26:18 +08:00
ping-yee
ac1c4a5f18
test: fix failure of testStreamFilter function.
2022-09-08 03:43:17 +08:00
kenjis
ae637733e3
test: add ar to test data
...
Co-authored-by: Pooya Parsa Dadashi <pooya_parsa_dadashi@yahoo.com>
2022-09-07 11:46:56 +09:00
kenjis
5857bcddcb
test: remove unneeded code
...
setUp()/tearDown() take care of it.
2022-09-07 11:25:30 +09:00