mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-19 00:22:15 +00:00
added guest_search_file, guest_try_search_non_shared_user_file test
This commit is contained in:
@@ -57,7 +57,7 @@ class ShareContentAccessTest extends TestCase
|
||||
]);
|
||||
|
||||
// Get share record
|
||||
$this->get("/api/files/$share->token/public")
|
||||
$this->get("/api/browse/files/$share->token/public")
|
||||
->assertStatus(200)
|
||||
->assertJsonFragment([
|
||||
'basename' => $document->name
|
||||
@@ -85,7 +85,7 @@ class ShareContentAccessTest extends TestCase
|
||||
]);
|
||||
|
||||
// Get share record
|
||||
$this->get("/api/files/$share->token/public")
|
||||
$this->get("/api/browse/files/$share->token/public")
|
||||
->assertStatus(403);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user