File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -12,9 +12,9 @@ abstract class PassportTestCase extends TestCase
1212{
1313 use RefreshDatabase;
1414
15- const KEYS = __DIR__ . '/keys ' ;
16- const PUBLIC_KEY = self ::KEYS . '/oauth-public.key ' ;
17- const PRIVATE_KEY = self ::KEYS . '/oauth-private.key ' ;
15+ const KEYS = __DIR__ . '/keys ' ;
16+ const PUBLIC_KEY = self ::KEYS . '/oauth-public.key ' ;
17+ const PRIVATE_KEY = self ::KEYS . '/oauth-private.key ' ;
1818
1919 protected function setUp (): void
2020 {
Original file line number Diff line number Diff line change 1111
1212class KeysCommandTest extends TestCase
1313{
14- const KEYS = __DIR__ . '/../keys ' ;
15- const PUBLIC_KEY = self ::KEYS . '/oauth-public.key ' ;
16- const PRIVATE_KEY = self ::KEYS . '/oauth-private.key ' ;
14+ const KEYS = __DIR__ . '/../keys ' ;
15+ const PUBLIC_KEY = self ::KEYS . '/oauth-public.key ' ;
16+ const PRIVATE_KEY = self ::KEYS . '/oauth-private.key ' ;
1717
1818 protected function setUp (): void
1919 {
Original file line number Diff line number Diff line change @@ -36,10 +36,10 @@ public function test_can_use_crypto_keys_from_config()
3636
3737 public function test_can_use_crypto_keys_from_local_disk ()
3838 {
39- Passport::loadKeysFrom (__DIR__ . '/../keys ' );
39+ Passport::loadKeysFrom (__DIR__ . '/../keys ' );
4040
4141 file_put_contents (
42- __DIR__ . '/../keys/oauth-private.key ' ,
42+ __DIR__ . '/../keys/oauth-private.key ' ,
4343 "-----BEGIN RSA PRIVATE KEY----- \ndisk \n-----END RSA PRIVATE KEY----- "
4444 );
4545
@@ -61,6 +61,6 @@ public function test_can_use_crypto_keys_from_local_disk()
6161 file_get_contents ($ cryptKey ->getKeyPath ())
6262 );
6363
64- @unlink (__DIR__ . '/../keys/oauth-private.key ' );
64+ @unlink (__DIR__ . '/../keys/oauth-private.key ' );
6565 }
6666}
You can’t perform that action at this time.
0 commit comments