29
0
mirror of https://github.com/joomla/joomla-cms.git synced 2024-05-28 07:53:37 +00:00
cms/tests/Codeception/api.suite.dist.yml
Benjamin Trenkle 4229d73e43
Fix tests (#36529)
* Fix tests

* Remove REST
2022-01-01 22:42:32 +01:00

96 lines
2.7 KiB
YAML

actor: ApiTester
modules:
enabled:
- Helper\JoomlaDb
- 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:
modules:
enabled:
- REST:
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:
- REST:
url: http://localhost/postgres/api/index.php/v1
depends: PhpBrowser
part: Json
config:
Helper\JoomlaDb:
dsn: 'pgsql:host=postgres;dbname=test_joomla'
prefix: 'jos_'
Helper\Api:
url: 'http://localhost/postgres'
cmsPath: '/tests/www/postgres'
postgresphpmax:
modules:
enabled:
- REST:
url: http://localhost/postgresphpmax/api/index.php/v1
depends: PhpBrowser
part: Json
config:
Helper\JoomlaDb:
dsn: 'pgsql:host=postgres;dbname=test_joomla'
prefix: 'phpmax_'
Helper\Api:
url: 'http://localhost/postgresphpmax'
cmsPath: '/tests/www/postgresphpmax'
mysqlphpmax:
modules:
enabled:
- REST:
url: http://localhost/mysqlphpmax/api/index.php/v1
depends: PhpBrowser
part: Json
config:
Helper\JoomlaDb:
prefix: 'phpmax_'
Helper\Api:
url: 'http://localhost/mysqlphpmax'
cmsPath: '/tests/www/mysqlphpmax'
postgresphpnext:
modules:
enabled:
- REST:
url: http://localhost/postgresphpnext/api/index.php/v1
depends: PhpBrowser
part: Json
config:
Helper\JoomlaDb:
dsn: 'pgsql:host=postgres;dbname=test_joomla'
prefix: 'phpnext_'
Helper\Api:
url: 'http://localhost/postgresphpnext'
cmsPath: '/tests/www/postgresphpnext'
mysqlphpnext:
modules:
enabled:
- REST:
url: http://localhost/mysqlphpnext/api/index.php/v1
depends: PhpBrowser
part: Json
config:
Helper\JoomlaDb:
prefix: 'phpnext_'
Helper\Api:
url: 'http://localhost/mysqlphpnext'
cmsPath: '/tests/www/mysqlphpnext'