codeigniter4 / shield

Authentication and Authorization for CodeIgniter 4
https://shield.codeigniter.com
MIT License
351 stars 123 forks source link

test: fix Registrar for DB Config #1094

Closed kenjis closed 3 months ago

kenjis commented 3 months ago

Description Fixes a serious bug in DB testing configuration.

phpunit / PHP 8.1 - MySQLi
...
1) Tests\Authentication\Authenticators\HmacAuthenticatorTest::testAttemptCannotFindUser
TypeError: CodeIgniter\Database\SQLite3\Connection::_escapeString(): Argument #1 ($str) must be of type string, CodeIgniter\I18n\Time given, called in /home/runner/work/shield/shield/vendor/codeigniter4/framework/system/Database/BaseConnection.php on line 1346
...

https://github.com/codeigniter4/shield/actions/runs/8600000130/job/23564066896

Checklist: