Skip to content

Commit

Permalink
Can't unset the env it seems
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Erkelens committed Oct 30, 2017
1 parent 6c5b36d commit 8e5d2a1
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/unit/JWTAuthenticatorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -117,15 +117,4 @@ public function testRSAKey()
$result = $authenticator->authenticate(['token' => $token], $request);
$this->assertNull($result);
}

/**
* @expectedException JWTException
*/
public function testNoPublicKey()
{
Environment::putEnv('JWT_SIGNER_KEY=graphql-jwt/tests/keys/private.key');
Environment::putEnv('JWT_PUBLIC_KEY');

new JWTAuthenticator();
}
}

0 comments on commit 8e5d2a1

Please sign in to comment.