Skip to content

Conversation

@kenjis
Copy link
Member

@kenjis kenjis commented Aug 26, 2023

Follow-up #796
Ref #802

This PR fixes the following test error with CI v4.4.0:

1) Tests\Unit\Authentication\JWT\JWTManagerTest::testParseCanSpecifyKey
ErrorException: Undefined array key "mobile"

/home/runner/work/shield/shield/src/Authentication/JWT/Adapters/FirebaseAdapter.php:145
/home/runner/work/shield/shield/src/Authentication/JWT/Adapters/FirebaseAdapter.php:112
/home/runner/work/shield/shield/src/Authentication/JWT/JWSEncoder.php:62
/home/runner/work/shield/shield/src/Authentication/JWTManager.php:[73](https://github.com/codeigniter4/shield/actions/runs/5984579479/job/16235976345?pr=801#step:11:74)
/home/runner/work/shield/shield/tests/Unit/Authentication/JWT/JWTManagerTest.php:311

@datamweb datamweb changed the title test: use short classname for config() test: use short classname for config() Aug 26, 2023
We should use the same classname in the product code.
@kenjis kenjis force-pushed the fix-test-config-fqcn branch from 5d91b89 to a90e40a Compare August 27, 2023 00:42
@kenjis
Copy link
Member Author

kenjis commented Aug 27, 2023

I just changed the commit message.
This PR is no problem, but it seems to be better to fix the config() behavior.

@kenjis kenjis merged commit 05e033d into codeigniter4:develop Aug 29, 2023
@kenjis kenjis deleted the fix-test-config-fqcn branch August 29, 2023 08:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants