]> git.mxchange.org Git - friendica.git/commitdiff
Changing the expectaztion in the test
authorMichael <heluecht@pirati.ca>
Thu, 18 Nov 2021 08:14:08 +0000 (08:14 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 18 Nov 2021 08:14:08 +0000 (08:14 +0000)
tests/legacy/ApiTest.php

index 605ac8c78f812d06fd2b96d3bfbadef5190b2867..a46d346b9a45463cf9c6d16cf714aa65ce8e29e2 100644 (file)
@@ -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');
        }