| 1 | <?php |
||
| 8 | class RefreshTokenTest extends TestBase |
||
| 9 | { |
||
| 10 | public function testGetTokenChecksForRefreshToken() |
||
| 11 | { |
||
| 12 | $grant = new RefreshToken($this->createClient(), [ |
||
| 13 | 'client_id' => 'test', |
||
| 14 | 'client_secret' => 'clientSecret', |
||
| 15 | ]); |
||
| 16 | $this->setExpectedException('\\RuntimeException'); |
||
| 17 | $grant->getToken(); |
||
| 20 |