#21 clean up the tests

This commit is contained in:
Nabeel Shahzad
2017-07-04 13:09:44 -05:00
parent 679c72085f
commit 70dbfbcd3f
7 changed files with 16 additions and 12 deletions

View File

@@ -43,13 +43,15 @@ unittest-db:
sqlite3 database/unittest.sqlite ""
php artisan migrate:refresh --env unittest
.PHONY: tests
tests: test
.PHONY: test
test:
echo "" > storage/logs/laravel.log
-vendor/bin/phpunit --testdox tests
cat storage/logs/laravel.log
@echo "" > storage/logs/laravel.log
@chmod 0777 storage/logs/*
@vendor/bin/phpunit --testdox tests
@cat storage/logs/laravel.log
.PHONY: schema
schema: