From ffe54881fcbc0cd23040978422b70ba7f2184782 Mon Sep 17 00:00:00 2001 From: MetaMan Date: Fri, 6 Dec 2024 16:04:18 +0100 Subject: [PATCH] make command for development process --- app/Console/Commands/PrepareTestCase.php | 46 ++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 app/Console/Commands/PrepareTestCase.php diff --git a/app/Console/Commands/PrepareTestCase.php b/app/Console/Commands/PrepareTestCase.php new file mode 100644 index 0000000..62a49fd --- /dev/null +++ b/app/Console/Commands/PrepareTestCase.php @@ -0,0 +1,46 @@ +call('migrate:refresh'); + $this->call('db:seed'); + + $this->initializeGit(); + $this->createFederations(); + $this->createCategoriesAndGroups(); + $this->makeEdu2Edugain(); + + } +}