From: Michael Date: Thu, 18 Nov 2021 08:14:08 +0000 (+0000) Subject: Changing the expectaztion in the test X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7d1a603ee5e028ab03a56f1512560cffc4aa1028;p=friendica.git Changing the expectaztion in the test --- diff --git a/tests/legacy/ApiTest.php b/tests/legacy/ApiTest.php index 605ac8c78f..a46d346b9a 100644 --- a/tests/legacy/ApiTest.php +++ b/tests/legacy/ApiTest.php @@ -1726,7 +1726,7 @@ class ApiTest extends FixtureTest */ public function testApiStatusesRepeat() { - $this->expectException(\Friendica\Network\HTTPException\UnauthorizedException::class); + $this->expectException(\Friendica\Network\HTTPException\ForbiddenException::class); api_statuses_repeat('json'); }