event implementation

This commit is contained in:
Čarodej
2021-11-19 17:08:49 +01:00
parent 496a6ea5a7
commit 7c5cb79677
32 changed files with 135 additions and 121 deletions
+2 -2
View File
@@ -50,8 +50,8 @@ class SignFlowTest extends TestCase
]);
$this->assertDatabaseHas('user_settings', [
'name' => 'John Doe',
'storage_capacity' => 12,
'name' => 'John Doe',
'max_storage_amount' => 12,
]);
Storage::disk('local')
+6 -6
View File
@@ -140,12 +140,12 @@ class UserAccountTest extends TestCase
'id' => (string) $user->id,
'type' => 'user',
'attributes' => [
'storage_capacity' => '5',
'email' => $user->email,
'role' => $user->role,
'two_factor_authentication' => false,
'folders' => [],
'storage' => [
'max_storage_amount' => '5',
'email' => $user->email,
'role' => $user->role,
'two_factor_authentication' => false,
'folders' => [],
'storage' => [
'used' => 0,
'used_formatted' => '0.00%',
'capacity' => '5',