File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -69,13 +69,13 @@ jobs:
6969 - name : Run PHPUnit
7070 run : |
7171 if [[ ${{ matrix.db-type }} == 'sqlite' ]]; then
72- export db_dsn=' sqlite:///testdb.sqlite3'
72+ export DB_URL= sqlite:///testdb.sqlite3
7373 fi
7474 if [[ ${{ matrix.db-type }} == 'mysql' ]]; then
75- export db_dsn=' mysql://root:root@127.0.0.1/cakephp'
75+ export DB_URL= mysql://root:root@127.0.0.1/cakephp
7676 fi
7777 if [[ ${{ matrix.db-type }} == 'pgsql' ]]; then
78- export db_dsn=' postgres://postgres:postgres@127.0.0.1/postgres'
78+ export DB_URL= postgres://postgres:postgres@127.0.0.1/postgres
7979 fi
8080 if [[ ${{ matrix.php-version }} == '8.2' ]]; then
8181 vendor/bin/phpunit --coverage-clover=coverage.xml
Original file line number Diff line number Diff line change 1616chdir ($ root );
1717require $ root . '/vendor/cakephp/cakephp/tests/bootstrap.php ' ;
1818
19+ // See setUp() method inside tests
1920define ('PLUGIN_TESTS ' , $ root . DS . 'tests ' . DS );
You can’t perform that action at this time.
0 commit comments