Shared pages refactoring part 1

This commit is contained in:
Čarodej
2022-02-08 10:01:38 +01:00
parent 09774b1d48
commit f04c057490
25 changed files with 170 additions and 191 deletions
@@ -133,7 +133,7 @@ class VisitorAccessToItemsTest extends TestCase
$this->withCookies($cookie)
->get("/share/$share->token")
->assertStatus(200);
->assertRedirect("/share/$share->token/authenticate");
}
if (! $is_protected) {
+1 -2
View File
@@ -55,8 +55,7 @@ class VisitorBrowseTest extends TestCase
]);
$this->get("/share/$share->token")
->assertViewIs('index')
->assertStatus(200);
->assertRedirect("/share/$share->token/files/$share->item_id");
}
/**