This commit is contained in:
Čarodej
2021-11-03 17:34:46 +01:00
parent 98823504ba
commit cdaad931bb
40 changed files with 69 additions and 112 deletions

View File

@@ -1,5 +1,4 @@
<?php
namespace Tests\Domain\Sharing;
use Storage;
@@ -54,7 +53,7 @@ class VisitorAccessToItemsTest extends TestCase
->assertStatus(200);
}
if (!$is_protected) {
if (! $is_protected) {
// Get shared file
$this->get("/file/$document->name/$share->token")
->assertStatus(200);
@@ -136,7 +135,7 @@ class VisitorAccessToItemsTest extends TestCase
->assertStatus(200);
}
if (!$is_protected) {
if (! $is_protected) {
$this->get("/share/$share->token")
->assertStatus(200);
}
@@ -189,7 +188,7 @@ class VisitorAccessToItemsTest extends TestCase
->assertStatus(200);
}
if (!$is_protected) {
if (! $is_protected) {
$this->get("/thumbnail/xs-$fileName/$share->token")
->assertStatus(200);
}