Skip to content

Commit

Permalink
Merge branch 'main' of github.com:little-apps/LittleJWT
Browse files Browse the repository at this point in the history
  • Loading branch information
little-apps committed Jun 2, 2024
2 parents 45f888e + a2f91f6 commit e1fec2a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tests/Features/KeyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -330,14 +330,15 @@ public function test_empty_jwk_phrase()
*
* @return void
*/
public function test_create_littlejwt_empty_phrase() {
public function test_create_littlejwt_empty_phrase()
{
$this->app->bind('littlejwt', function ($app) {
$builder = new LittleJWTBuilder(KeyBuilder::buildFromConfig([
'default' => 'secret',
'secret' => [
'phrase' => '',
'allow_unsecure' => false,
]
],
]));

return $builder->withJwkValidator($app->make(JWKValidator::class))->build();
Expand Down

0 comments on commit e1fec2a

Please sign in to comment.