Limitation API skelet with can upload tests

This commit is contained in:
Čarodej
2022-01-05 11:20:57 +01:00
parent 49c6f25acb
commit c7c11fe5b9
42 changed files with 549 additions and 187 deletions

View File

@@ -154,6 +154,8 @@ class SetupWizardTest extends TestCase
*/
public function it_store_app_settings()
{
Setting::all()->each->delete();
$this->postJson('/api/setup/app-setup', [
'title' => 'VueFileManager',
'description' => 'The best file manager on the internet',
@@ -207,6 +209,8 @@ class SetupWizardTest extends TestCase
*/
public function it_create_admin_account()
{
Setting::all()->each->delete();
$this->post('/admin-setup', [
'email' => 'john@doe.com',
'password' => 'VerySecretPassword',