Skip to content

Commit 5f4bbb3

Browse files
committed
Include defaults in test case setup
1 parent 5162a40 commit 5f4bbb3

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tests/ClientTest.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22

33
use Carbon\Carbon;
44
use Carbon\CarbonImmutable;
5+
use Lcobucci\JWT\Encoding\ChainedFormatter;
56
use Lcobucci\JWT\Encoding\JoseEncoder;
67
use Lcobucci\JWT\Signer\Hmac\Sha256;
78
use Lcobucci\JWT\Signer\Key\InMemory;
@@ -32,6 +33,8 @@ protected function getEnvironmentSetUp($app): void
3233
'audience' => 'myappaud',
3334
'issuer' => 'myappiss',
3435
'lifetime' => 900,
36+
'signer' => \Lcobucci\JWT\Signer\Hmac\Sha256::class,
37+
'chained_formatter' => ChainedFormatter::default(),
3538
]]);
3639
}
3740

@@ -132,4 +135,4 @@ public function testQuickGet()
132135
)
133136
);
134137
}
135-
}
138+
}

0 commit comments

Comments
 (0)