added guest_search_file, guest_try_search_non_shared_user_file test

This commit is contained in:
Peter Papp
2021-03-11 08:51:15 +01:00
parent ed90173ec9
commit 266f9d8a0a
3 changed files with 63 additions and 4 deletions

View File

@@ -247,7 +247,7 @@ class ShareTest extends TestCase
'is_protected' => 0,
]);
$this->get("/api/shared/$share->token")
$this->get("/api/browse/shared/$share->token")
->assertStatus(200)
->assertExactJson([
'data' => [
@@ -273,7 +273,7 @@ class ShareTest extends TestCase
*/
public function it_get_deleted_shared_record()
{
$this->get("/api/shared/19ZMPNiass4ZqWwQ")
$this->get("/api/browse/shared/19ZMPNiass4ZqWwQ")
->assertNotFound();
}