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 tmpfs: /var/lib/mysql
environment: environment:
MYSQL_ROOT_PASSWORD: '' MYSQL_ROOT_PASSWORD: ''
MYSQL_DATABASE: 'ilaravel'
MYSQL_DATABASE: 'test'
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes' MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
pma: pma:
image: 'phpmyadmin' image: 'phpmyadmin'

14
phpunit.xml

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

Loading…
Cancel
Save