2014-05-10 11:54:11 +01:00
|
|
|
<?php
|
2014-07-22 10:58:15 +01:00
|
|
|
$I = new ApiTester($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();
|