oauth2-server/tests/api/GetUsersNoTokenCept.php

7 lines
173 B
PHP
Raw Normal View History

2014-05-10 16:24:11 +05:30
<?php
2014-07-22 15:28:15 +05:30
$I = new ApiTester($scenario);
2014-05-10 16:24:11 +05:30
$I->wantTo('get all users without an access token');
$I->sendGET('api.php/users');
$I->seeResponseCodeIs(400);
$I->seeResponseIsJson();