kenjis
8ac5198bcf
test: fix incorrect test
2022-10-07 14:56:14 +09:00
kenjis
255fbe5ca6
fix: bug in route registration
...
$routes and $routesOptions are not the same structure.
$routesOptions don't have route names.
If there are two routes having the same `from` but not the same name,
the route and the option were not connected correctly.
2022-10-07 14:53:36 +09:00
John Paul E. Balandan, CPA
a5de551702
Merge pull request #6625 from paulbalandan/dotenv-export
...
Fix DotEnv class turning `export` to empty string
2022-10-07 09:34:21 +08:00
kenjis
592ad34b96
fix: add ! to createFromFormat()
...
Co-authored-by: MGatner <mgatner@icloud.com>
2022-10-07 07:31:20 +09:00
kenjis
bf6e17e925
fix: add ! to createFromFormat()
...
Co-authored-by: MGatner <mgatner@icloud.com>
2022-10-07 07:31:11 +09:00
kenjis
15fa3f1399
Merge pull request #6614 from kenjis/fix-redis-session-php81
...
fix: default values for Session Redis Handler
2022-10-06 09:17:34 +09:00
kenjis
05b7a303d2
test: fix tests that depends on time
...
See https://github.com/codeigniter4/CodeIgniter4/issues/5486
2022-10-06 09:12:34 +09:00
kenjis
07eadd2331
test: use @requires
2022-10-05 11:46:31 +09:00
kenjis
7d45205ddb
test: add tests for savePath timeout
2022-10-05 11:46:31 +09:00
kenjis
c9e20428a7
test: add RedisHandlerTest
2022-10-05 11:46:29 +09:00
kenjis
0591cc1082
test: remove uneeded code
2022-10-05 09:01:24 +09:00
kenjis
0d002ebd88
Merge pull request #6624 from ddevsr/language-valid-json
...
fix: missing `valid_json` in Validation Language
2022-10-05 07:58:06 +09:00
kenjis
16e2920441
Merge pull request #6619 from kenjis/refactor-remove-request-uri
...
test: remove $request->uri
2022-10-05 07:52:37 +09:00
John Paul E. Balandan, CPA
eabdcbde03
Add test with spacing in =
...
Co-authored-by: MGatner <mgatner@icloud.com>
2022-10-04 18:56:46 +08:00
John Paul E. Balandan, CPA
b9ea8f7030
Fix DotEnv class turning export
to empty string
2022-10-04 17:44:45 +08:00
ddevsr
8ebc0004ef
tests: add test bundle to languageTest
2022-10-04 14:59:48 +07:00
MGatner
61fcc81e06
Merge pull request #6618 from ytetsuro/fix/is-valid-valid-url-rule-when-has-newline
2022-10-03 06:00:28 -04:00
kenjis
1dad2a9caa
test: remove @param mixed
2022-10-03 13:37:05 +09:00
kenjis
fb8be3e58e
test: refactor method
2022-10-03 13:25:54 +09:00
kenjis
200cd8d1e9
test: extract method
2022-10-03 13:20:31 +09:00
kenjis
8567b70862
test: extract method
2022-10-03 13:15:00 +09:00
kenjis
5a5a1be4d6
test: remove $request->uri
2022-10-03 12:22:30 +09:00
kenjis
85df3ceca8
test: remove $request->uri
2022-10-03 12:22:29 +09:00
kenjis
1e3c8ee000
test: remove $request->uri
2022-10-03 12:22:09 +09:00
kenjis
c42b1bfc26
test: fix incorrect assertions
2022-10-03 12:21:33 +09:00
kenjis
9dd7e25b15
test: extract method
2022-10-03 11:31:08 +09:00
kenjis
c08fa4169b
test: remove $request->uri
2022-10-03 11:31:08 +09:00
kenjis
1de91734be
Merge pull request #6588 from kenjis/fix-model-cleanValidationRules
...
fix: `$cleanValidationRules` does not work in Model updates
2022-10-03 09:27:38 +09:00
Tetsuro Yoshikawa
035ac6fb1a
fix: URLs that include a trailing newline are not possible because.
2022-10-02 19:13:22 +09:00
kenjis
ed0cdd00ea
Merge pull request #6589 from ping-yee/modify-validation-required_without
...
fix: `required_without` rule logic in `Validation` class.
2022-10-01 05:45:20 +09:00
kenjis
dcdaa431da
Merge pull request #6612 from kenjis/fix-MigrationRunnerTest-SQLite3-memory
...
test: fix failed MigrationRunnerTest
2022-10-01 05:38:32 +09:00
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
cce25313a6
test: fix failed test
...
There was 1 failure:
1) CodeIgniter\Database\Migrations\MigrationRunnerTest::testLoadsDefaultDatabaseWhenNoneSpecified
Failed asserting that two strings are identical.
--- Expected
+++ Actual
@@ @@
-'.../CodeIgniter4/writable/:memory:'
+':memory:'
.../CodeIgniter4/tests/system/Database/Migrations/MigrationRunnerTest.php:84
2022-09-30 17:24:40 +09:00
kenjis
acad5b6dde
fix: script_tag() does not work with CSP
2022-09-30 14:41:31 +09:00
kenjis
ad369b1598
docs: fix safe_mailto() does not work with CSP
2022-09-29 15:28:49 +09:00
kenjis
705fd47501
test: replace deprecated method
2022-09-29 13:00:54 +09:00
ping-yee
2a751c6828
test: add test case.
2022-09-29 11:19:29 +08:00
ping-yee
64924aaad8
test: add condition to follow required_without[] rule.
2022-09-29 11:19:26 +08: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