Skip to content

Commit

Permalink
Disable key permissions check in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
ybelenko committed Nov 22, 2022
1 parent 6892e1a commit 7bfb895
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Grant/CustomEmailGrantTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ protected function setUp(): void
$this->user = null;
$this->scopes = null;
$this->grant = new CustomEmailGrant(new FakeUserRepository(), Closure::fromCallable([$this, 'onAccessTokenIssued']));
$this->grant->setPrivateKey(new CryptKey(realpath(__DIR__ . '/../fake_private.key')));
$this->grant->setPrivateKey(new CryptKey(realpath(__DIR__ . '/../fake_private.key'), null, false));
$this->grant->setClientRepository(new FakeClientRepository());
$this->grant->setScopeRepository(new FakeScopeRepository());
$this->grant->setAccessTokenRepository(new FakeAccessTokenRepository());
Expand Down

0 comments on commit 7bfb895

Please sign in to comment.