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