Added database for testing

This commit is contained in:
Josiah Dahl 2017-08-07 12:28:22 -07:00
parent 6e00a91eea
commit 8b6e2db315

View File

@ -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', "<?php
});
");
$I->deleteFile('database/database.sqlite');
// Checking database seeder
// $I->openFile('./database/seeds/TaskCategoriesTableSeeder.php');
// $I->seeInThisFile('