Skip to content

Commit

Permalink
Applied Laravel Pint changes
Browse files Browse the repository at this point in the history
  • Loading branch information
little-apps authored and github-actions[bot] committed Jun 2, 2024
1 parent 2d3fd49 commit a2f91f6
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 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 All @@ -350,7 +351,8 @@ public function test_create_littlejwt_empty_phrase() {
$this->assertNotEquals($a->get('k'), $b->get('k'));
}

public function test_jwk_immutable() {
public function test_jwk_immutable()
{
$jwk = $this->app->make(JsonWebKey::class);

$this->assertInstanceOf(JsonWebKey::class, $jwk);
Expand Down

0 comments on commit a2f91f6

Please sign in to comment.