Skip to content

Commit 005af42

Browse files
committed
Update composer scripts
1 parent 27234b0 commit 005af42

File tree

2 files changed

+122
-47
lines changed

2 files changed

+122
-47
lines changed

composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "tavoniievez/symfony-module-tests",
2+
"name": "codeception/laravel-module-tests",
33
"description": "Codeception Laravel Module tests",
44
"type": "project",
55
"license": "MIT",
@@ -64,10 +64,12 @@
6464
"@php artisan package:discover --ansi"
6565
],
6666
"post-root-package-install": [
67-
"@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
67+
"@php -r \"file_exists('.env') || copy('.env.testing', '.env');\""
6868
],
6969
"post-create-project-cmd": [
70-
"@php artisan key:generate --ansi"
70+
"@php -r \"fopen('database/database.sqlite', 'w');\"",
71+
"@php artisan key:generate --ansi",
72+
"@php artisan migrate --seed"
7173
]
7274
}
7375
}

composer.lock

Lines changed: 117 additions & 44 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)