deleted pro code

This commit is contained in:
Čarodej
2022-04-26 14:08:20 +02:00
parent 188d5613b7
commit f45c1eb576
76 changed files with 62 additions and 3048 deletions

View File

@@ -77,24 +77,6 @@ class AdminTest extends TestCase
]);
}
/**
* todo: complete test
*/
public function it_get_non_existed_user_subscription()
{
$user = User::factory()
->hasSettings()
->create();
$admin = User::factory()
->create(['role' => 'admin']);
$this
->actingAs($admin)
->getJson("/api/admin/users/$user->id/subscription")
->assertStatus(404);
}
/**
* @test
*/

View File

@@ -25,14 +25,12 @@ class DashboardTest extends TestCase
->assertStatus(200)
->assertJsonFragment([
'app' => [
'earnings' => '$0.00',
'isRunningCron' => false,
'license' => 'extended',
'license' => 'regular',
'version' => config('vuefilemanager.version'),
],
'users' => [
'total' => 1,
'usersPremiumTotal' => 0,
],
'used' => '2.00MB',
]);