diff --git a/tests/Feature/SharingWithAnonUserTest.php b/tests/Feature/SharingWithAnonUserTest.php index 211e61ce88d..146c1ee2e92 100644 --- a/tests/Feature/SharingWithAnonUserTest.php +++ b/tests/Feature/SharingWithAnonUserTest.php @@ -346,6 +346,11 @@ protected function getExpectedDefaultInaccessibleMessage(): string return TestConstants::EXPECTED_UNAUTHENTICATED_MSG; } + protected function getExpectedForbiddenHttpStatusCode(): int + { + return 403; + } + /** * Ensures that the user does not see the unsorted public photos as covers nor * inside "Recent", "On This Day" and "Favorites" (as public search is disabled).