mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-17 18:49:46 +05:30
7 lines
198 B
PHP
7 lines
198 B
PHP
<?php
|
|
$I = new ApiTester($scenario);
|
|
$I->wantTo('get all users with an invalid access token');
|
|
$I->sendGET('api.php/users?access_token=foobar');
|
|
$I->seeResponseCodeIs(401);
|
|
$I->seeResponseIsJson();
|