diff --git a/lumen-test/tests/acceptance/ResourcesCommandCept.php b/lumen-test/tests/acceptance/ResourcesCommandCept.php index 11e08b7..467ee7b 100644 --- a/lumen-test/tests/acceptance/ResourcesCommandCept.php +++ b/lumen-test/tests/acceptance/ResourcesCommandCept.php @@ -2,6 +2,8 @@ $I = new AcceptanceTester($scenario); $I->wantTo('Generate RESTful resources from a file'); +$I->writeToFile('database/database.sqlite', ''); + $I->runShellCommand('php artisan wn:resources tests/_data/ResourcesTest.yml'); // Checking the model @@ -116,6 +118,9 @@ $I->writeToFile('./database/factories/ModelFactory.php', "deleteFile('database/database.sqlite'); + + // Checking database seeder // $I->openFile('./database/seeds/TaskCategoriesTableSeeder.php'); // $I->seeInThisFile('