Loading tests/BaseDAOTest.php +4 −0 Changes for tests/BaseDAOTest.php: 4 added lines, 0 removed lines. Original line number Original line Diff line number Diff line Loading @@ -4,6 +4,10 @@ abstract class BaseDAOTest extends \PHPUnit\Framework\TestCase { protected function getFakeLocator(): \RAP\Locator { protected function getFakeLocator(): \RAP\Locator { if (getenv('TEST_DAO') !== 'true') { $this->markTestSkipped('Test database is needed for testing DAO classes'); } $config = (object) [ $config = (object) [ "databaseConfig" => (object) [ "databaseConfig" => (object) [ "dbtype" => 'MySQL', "dbtype" => 'MySQL', Loading Loading
tests/BaseDAOTest.php +4 −0 Changes for tests/BaseDAOTest.php: 4 added lines, 0 removed lines. Original line number Original line Diff line number Diff line Loading @@ -4,6 +4,10 @@ abstract class BaseDAOTest extends \PHPUnit\Framework\TestCase { protected function getFakeLocator(): \RAP\Locator { protected function getFakeLocator(): \RAP\Locator { if (getenv('TEST_DAO') !== 'true') { $this->markTestSkipped('Test database is needed for testing DAO classes'); } $config = (object) [ $config = (object) [ "databaseConfig" => (object) [ "databaseConfig" => (object) [ "dbtype" => 'MySQL', "dbtype" => 'MySQL', Loading