2014-05-10 11:54:11 +01:00
|
|
|
<?php
|
2014-07-22 12:15:41 +01:00
|
|
|
$I = new ResourceServerTester($scenario);
|
2014-05-10 11:54:11 +01:00
|
|
|
$I->wantTo('get all users without an access token');
|
|
|
|
$I->sendGET('api.php/users');
|
|
|
|
$I->seeResponseCodeIs(400);
|
|
|
|
$I->seeResponseIsJson();
|