Skip to content

Commit c242d48

Browse files
authored
Apply fixes from StyleCI (#1291)
1 parent 7359e38 commit c242d48

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

tests/Feature/PassportTestCase.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
{

tests/Unit/KeysCommandTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,9 @@
1111

1212
class 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
{

tests/Unit/PassportServiceProviderTest.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff 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
}

0 commit comments

Comments
 (0)