mirror of
https://github.com/elyby/oauth2-server.git
synced 2024-12-17 02:29:46 +05:30
7 lines
184 B
PHP
7 lines
184 B
PHP
<?php
|
|
$I = new ResourceServerTester($scenario);
|
|
$I->wantTo('get all users without an access token');
|
|
$I->sendGET('api.php/users');
|
|
$I->seeResponseCodeIs(400);
|
|
$I->seeResponseIsJson();
|