setup wizard funcionality upgrade for v2

This commit is contained in:
Čarodej
2022-02-11 10:05:12 +01:00
parent 3867c9cd67
commit 03730b80c0
33 changed files with 517 additions and 448 deletions

View File

@@ -51,11 +51,6 @@ class SetupWizardTest extends TestCase
'username' => 'null',
'password' => 'null',
])->assertStatus(204);
$this->assertDatabaseHas('settings', [
'name' => 'setup_wizard_database',
'value' => 1,
]);
}
/**
@@ -66,7 +61,7 @@ class SetupWizardTest extends TestCase
Setting::all()->each->delete();
$this->postJson('/api/setup/app-setup', [
'color' => '#00BC7E',
'color' => '#00BC72',
'title' => 'VueFileManager',
'description' => 'The best file manager on the internet',
'googleAnalytics' => 'UA-12345678-1',
@@ -92,7 +87,7 @@ class SetupWizardTest extends TestCase
])
->assertDatabaseHas('settings', [
'name' => 'app_color',
'value' => '#00BC7E',
'value' => '#00BC72',
])
->assertDatabaseHas('settings', [
'name' => 'app_title',