mirror of
https://github.com/VueFileManager/vuefilemanager.git
synced 2026-04-18 08:12:15 +00:00
- set default_max_team_member
- generate traffic for all users
This commit is contained in:
@@ -19,7 +19,7 @@ class SignFlowTest extends TestCase
|
||||
{
|
||||
collect([
|
||||
[
|
||||
'name' => 'default_storage_amount',
|
||||
'name' => 'default_max_storage_amount',
|
||||
'value' => 12,
|
||||
],
|
||||
[
|
||||
|
||||
@@ -95,7 +95,7 @@ class UserSubscriptionTest extends TestCase
|
||||
SubscriptionWasExpired::dispatch($user->subscription);
|
||||
|
||||
$this->assertDatabaseHas('user_limitations', [
|
||||
'max_storage_amount' => 1,
|
||||
'max_storage_amount' => 5,
|
||||
'max_team_members' => 5,
|
||||
]);
|
||||
}
|
||||
|
||||
@@ -188,7 +188,7 @@ class SetupWizardTest extends TestCase
|
||||
]);
|
||||
|
||||
$this->assertDatabaseHas('settings', [
|
||||
'name' => 'default_storage_amount',
|
||||
'name' => 'default_max_storage_amount',
|
||||
'value' => '10',
|
||||
]);
|
||||
|
||||
|
||||
@@ -46,6 +46,26 @@ class TeamLimitsTest extends TestCase
|
||||
'email' => 'test@doe.com',
|
||||
'permission' => 'can-edit',
|
||||
],
|
||||
[
|
||||
'email' => 'test2@doe.com',
|
||||
'permission' => 'can-edit',
|
||||
],
|
||||
[
|
||||
'email' => 'test3@doe.com',
|
||||
'permission' => 'can-edit',
|
||||
],
|
||||
[
|
||||
'email' => 'test4@doe.com',
|
||||
'permission' => 'can-edit',
|
||||
],
|
||||
[
|
||||
'email' => 'test5@doe.com',
|
||||
'permission' => 'can-edit',
|
||||
],
|
||||
[
|
||||
'email' => 'test6@doe.com',
|
||||
'permission' => 'can-edit',
|
||||
],
|
||||
],
|
||||
])
|
||||
->assertStatus(423);
|
||||
|
||||
Reference in New Issue
Block a user