mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 16:22:14 +00:00
get and browse team folders shared with me
This commit is contained in:
@@ -117,10 +117,9 @@ class ContentAccessTest extends TestCase
|
||||
'name' => 'fake-thumbnail.jpg',
|
||||
]);
|
||||
|
||||
Sanctum::actingAs($users[1]);
|
||||
|
||||
$this->get("thumbnail/$thumbnail->name")
|
||||
->assertNotFound();
|
||||
$this->actingAs($users[1])
|
||||
->get("thumbnail/$thumbnail->name")
|
||||
->assertForbidden();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -144,10 +143,9 @@ class ContentAccessTest extends TestCase
|
||||
'name' => 'fake-file.pdf',
|
||||
]);
|
||||
|
||||
Sanctum::actingAs($users[1]);
|
||||
|
||||
$this->get("file/$file->name")
|
||||
->assertStatus(404);
|
||||
$this->actingAs($users[1])
|
||||
->get("file/$file->name")
|
||||
->assertForbidden();
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user