Skip to content

Conversation

@kenjis
Copy link
Member

@kenjis kenjis commented Apr 9, 2024

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:

  • Securely signed commits
  • [] Component(s) with PHPDoc blocks, only if necessary or adds value
  • [] Unit testing, with >80% coverage
  • [] User guide updated
  • Conforms to style guide

@kenjis kenjis added the testing Pull requests that changes tests only label Apr 9, 2024
mysqli_sql_exception: Data too long for column 'secret2' at row 1
@kenjis kenjis merged commit 112d44b into codeigniter4:develop Apr 14, 2024
@kenjis kenjis deleted the fix-test-DB-config branch April 14, 2024 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Pull requests that changes tests only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants