diff --git a/tests/Codeception/api.suite.dist.yml b/tests/Codeception/api.suite.dist.yml index ba1f6f52c85cf..98b2c8aaabca4 100644 --- a/tests/Codeception/api.suite.dist.yml +++ b/tests/Codeception/api.suite.dist.yml @@ -2,13 +2,16 @@ actor: ApiTester modules: enabled: - Helper\JoomlaDb - - \Helper\Api + - Helper\Api config: Helper\JoomlaDb: dsn: 'mysql:host=mysql;dbname=test_joomla' user: 'root' password: 'joomla_ut' prefix: 'jos_' + Helper\Api: + MicrosoftEdgeInsiders: false # set this to true, if you are on Windows Insiders # ; If you want to setup your test website (document root) in a different folder, you can do that here. + localUser: 'www-data' env: mysql: @@ -18,6 +21,10 @@ env: url: http://localhost/mysql/api/index.php/v1 depends: PhpBrowser part: Json + config: + Helper\Api: + url: 'http://localhost/mysql' + cmsPath: '/tests/www/mysql' postgres: modules: enabled: @@ -29,6 +36,9 @@ env: Helper\JoomlaDb: dsn: 'pgsql:host=postgres;dbname=test_joomla' prefix: 'jos_' + Helper\Api: + url: 'http://localhost/postgres' + cmsPath: '/tests/www/postgres' postgresphpmax: modules: enabled: @@ -40,6 +50,9 @@ env: Helper\JoomlaDb: dsn: 'pgsql:host=postgres;dbname=test_joomla' prefix: 'phpmax_' + Helper\Api: + url: 'http://localhost/postgresphpmax' + cmsPath: '/tests/www/postgresphpmax' mysqlphpmax: modules: enabled: @@ -50,6 +63,9 @@ env: config: Helper\JoomlaDb: prefix: 'phpmax_' + Helper\Api: + url: 'http://localhost/mysqlphpmax' + cmsPath: '/tests/www/mysqlphpmax' postgresphpnext: modules: enabled: @@ -61,6 +77,9 @@ env: Helper\JoomlaDb: dsn: 'pgsql:host=postgres;dbname=test_joomla' prefix: 'phpnext_' + Helper\Api: + url: 'http://localhost/postgresphpnext' + cmsPath: '/tests/www/postgresphpnext' mysqlphpnext: modules: enabled: @@ -71,3 +90,6 @@ env: config: Helper\JoomlaDb: prefix: 'phpnext_' + Helper\Api: + url: 'http://localhost/mysqlphpnext' + cmsPath: '/tests/www/mysqlphpnext'