s3 bandwidth usage fix

This commit is contained in:
Čarodej
2022-03-29 10:06:20 +02:00
parent 8c59501907
commit 9d4d1ba9aa
28 changed files with 205 additions and 214 deletions

View File

@@ -186,7 +186,8 @@ class TrafficTest extends TestCase
]);
$this->get("/file/$document->name/shared/$share->token")
->assertStatus(200);
->assertStatus(200)
->assertDownload($document->name);
$this->assertDatabaseHas('traffic', [
'user_id' => $this->user->id,