Skip to content

Commit

Permalink
Fix tests (joomla#36529)
Browse files Browse the repository at this point in the history
* Fix tests

* Remove REST
  • Loading branch information
bembelimen authored Jan 1, 2022
1 parent b7a6aa7 commit 4229d73
Showing 1 changed file with 23 additions and 1 deletion.
24 changes: 23 additions & 1 deletion tests/Codeception/api.suite.dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -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:
Expand All @@ -50,6 +63,9 @@ env:
config:
Helper\JoomlaDb:
prefix: 'phpmax_'
Helper\Api:
url: 'http://localhost/mysqlphpmax'
cmsPath: '/tests/www/mysqlphpmax'
postgresphpnext:
modules:
enabled:
Expand All @@ -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:
Expand All @@ -71,3 +90,6 @@ env:
config:
Helper\JoomlaDb:
prefix: 'phpnext_'
Helper\Api:
url: 'http://localhost/mysqlphpnext'
cmsPath: '/tests/www/mysqlphpnext'

0 comments on commit 4229d73

Please sign in to comment.