mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-28 11:00:39 +00:00
Shared pages refactoring part 1
This commit is contained in:
@@ -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) {
|
||||
|
||||
@@ -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");
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user