added it_update_settings, it_get_page, it_update_settings_image test

This commit is contained in:
Peter Papp
2021-03-05 11:57:48 +01:00
parent e514994b08
commit ce08240355
10 changed files with 250 additions and 194 deletions

View File

@@ -97,11 +97,6 @@ class SetupDevEnvironment extends Command
->each(function ($content) {
Setting::updateOrCreate($content);
});
collect(config('content.pages'))
->each(function ($page) {
Page::updateOrCreate($page);
});
}
/**
@@ -189,6 +184,8 @@ class SetupDevEnvironment extends Command
$this->call('migrate:fresh', [
'--force' => true
]);
$this->setup->seed_default_pages();
}
/**