removed old subscription backend

This commit is contained in:
Čarodej
2021-11-19 16:18:27 +01:00
parent 34eaf3e411
commit f402141bfb
50 changed files with 13 additions and 2287 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ class AdminTest extends TestCase
}
/**
* @test
* todo: complete test
*/
public function it_get_non_existed_user_subscription()
{
-9
View File
@@ -27,14 +27,6 @@ class DashboardTest extends TestCase
'value' => 'Regular',
]);
DB::table('subscriptions')
->insert([
'user_id' => $user->id,
'name' => 'main',
'stripe_id' => 'sub_Hp4jgdIpPDDWXw',
'stripe_status' => 'active',
]);
$this
->actingAs($user)
->getJson('/api/admin/dashboard')
@@ -44,7 +36,6 @@ class DashboardTest extends TestCase
'app_version' => config('vuefilemanager.version'),
'total_users' => 1,
'total_used_space' => '2.00MB',
'total_premium_users' => 1,
]);
}