Changing the expectaztion in the test
This commit is contained in:
parent
a8a64a0918
commit
7d1a603ee5
|
@ -1726,7 +1726,7 @@ class ApiTest extends FixtureTest
|
||||||
*/
|
*/
|
||||||
public function testApiStatusesRepeat()
|
public function testApiStatusesRepeat()
|
||||||
{
|
{
|
||||||
$this->expectException(\Friendica\Network\HTTPException\UnauthorizedException::class);
|
$this->expectException(\Friendica\Network\HTTPException\ForbiddenException::class);
|
||||||
api_statuses_repeat('json');
|
api_statuses_repeat('json');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user