Commit 10a661fb authored by Nick Sellen's avatar Nick Sellen

Use one configuration for test db

parent 5d861d7a
......@@ -28,6 +28,8 @@ modules:
dsn: mysql:host=db;dbname=foodsharing
user: root
password: root
cleanup: true
populator: 'mysql -u$user -h$host -p$password $dbname < migrations/_reload_data.sql'
\Helper\Foodsharing:
# custom module that inherits from Db so also needs db config
dsn: mysql:host=db;dbname=foodsharing
......
......@@ -8,9 +8,7 @@ class_name: AcceptanceTester
modules:
enabled:
- Sequence
- Db:
cleanup: true
populator: 'mysql -u$user -h$host -p$password $dbname < migrations/_reload_data.sql'
- Db
- Asserts
- \Helper\WebDriver:
url: 'http://web:8080/'
......
......@@ -6,9 +6,7 @@ modules:
- \Helper\Foodsharing
- Sequence
- \Helper\Maildev
- Db:
populate: true
cleanup: true
- Db
- REST:
url: 'http://web:8080/'
depends: PhpBrowser
......@@ -8,7 +8,5 @@ modules:
- Asserts
- Cli
- Sequence
- Db:
populate: true
cleanup: true
- Db
- \Helper\Foodsharing
......@@ -4,9 +4,7 @@ modules:
- PhpBrowser:
url: http://web:8080/
- Sequence
- Db:
populate: true
cleanup: true
- Db
- \Helper\HtmlAcceptance
- \Helper\Foodsharing
- \Helper\FoodsharingUrl
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment