Browse Source

update test directory and databse name

master
masoud 2 years ago
parent
commit
dcd9997eb4
  1. 2
      docker-compose.yml
  2. 14
      phpunit.xml

2
docker-compose.yml

@ -14,7 +14,7 @@ services:
tmpfs: /var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: ''
MYSQL_DATABASE: 'ilaravel'
MYSQL_DATABASE: 'test'
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
pma:
image: 'phpmyadmin'

14
phpunit.xml

@ -5,15 +5,15 @@
colors="true"
>
<testsuites>
<!-- <testsuite name="Unit">-->
<!-- <directory suffix="Test.php">./tests/Unit</directory>-->
<!-- </testsuite>-->
<testsuite name="Unit">
<directory suffix="Test.php">./tests/Unit</directory>
</testsuite>
<testsuite name="Feature" >
<directory suffix="Test.php">./tests/Feature</directory>
</testsuite>
<testsuite name="iLaravel" >
<directory suffix="Test.php">./tests/iLaravel</directory>
</testsuite>
<!-- <testsuite name="iLaravel" >-->
<!-- <directory suffix="Test.php">./tests/iLaravel</directory>-->
<!-- </testsuite>-->
</testsuites>
<coverage processUncoveredFiles="true">
<include>
@ -22,7 +22,7 @@
</coverage>
<php>
<env name="APP_ENV" value="testing"/>
<env name="DOMAIN_NAME" value="ilaravel"/>
<env name="DOMAIN_NAME" value="file"/>
<env name="BCRYPT_ROUNDS" value="4"/>
<env name="CACHE_DRIVER" value="array"/>
<env name="DB_CONNECTION" value="mysql"/>

Loading…
Cancel
Save