splitted user name

This commit is contained in:
Čarodej
2022-01-14 11:17:00 +01:00
parent 7e9e9ee25b
commit 7dd116a769
45 changed files with 272 additions and 95 deletions
@@ -27,6 +27,7 @@ class FixedBillingRestrictionsTest extends TestCase
public function it_can_upload()
{
$user = User::factory()
->hasSettings()
->create();
$this->assertEquals(true, $user->canUpload(9999999));
@@ -38,6 +39,7 @@ class FixedBillingRestrictionsTest extends TestCase
public function it_cant_upload_because_storage_limit_exceeded()
{
$user = User::factory()
->hasSettings()
->create();
File::factory()
@@ -55,6 +57,7 @@ class FixedBillingRestrictionsTest extends TestCase
public function it_can_create_new_folder()
{
$user = User::factory()
->hasSettings()
->create();
$this
@@ -75,6 +78,7 @@ class FixedBillingRestrictionsTest extends TestCase
public function it_cant_invite_team_members_into_team_folder_because_user_exceeded_members_limit()
{
$user = User::factory()
->hasSettings()
->hasFolders([
'team_folder' => true,
])
@@ -153,6 +157,7 @@ class FixedBillingRestrictionsTest extends TestCase
public function it_can_get_private_file()
{
$user = User::factory()
->hasSettings()
->create();
$file = File::factory()
@@ -175,6 +180,7 @@ class FixedBillingRestrictionsTest extends TestCase
public function it_can_get_shared_file()
{
$user = User::factory()
->hasSettings()
->create();
$file = File::factory()
@@ -203,6 +209,7 @@ class FixedBillingRestrictionsTest extends TestCase
public function it_can_get_share_page()
{
$user = User::factory()
->hasSettings()
->create();
$share = Share::factory()