mirror of
https://github.com/elyby/oauth2-server.git
synced 2025-05-31 14:12:07 +05:30
Fixed broken example tests
This commit is contained in:
6
tests/api/GetUsersNoTokenCept.php
Normal file
6
tests/api/GetUsersNoTokenCept.php
Normal file
@@ -0,0 +1,6 @@
|
||||
<?php
|
||||
$I = new ApiTester($scenario);
|
||||
$I->wantTo('get all users without an access token');
|
||||
$I->sendGET('api.php/users');
|
||||
$I->seeResponseCodeIs(400);
|
||||
$I->seeResponseIsJson();
|
||||
Reference in New Issue
Block a user