From e64b8b49e4644b8f0ab4cc4d4a02c150ea8e85a9 Mon Sep 17 00:00:00 2001 From: Seamus Lee Date: Sun, 26 May 2019 15:53:28 +1000 Subject: [PATCH] [NFC] Further tests tidy up following removing of dbunit --- tests/phpunit/CiviTest/CiviUnitTestCase.php | 1 - tools/scripts/phpunit-ls | 3 +-- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/phpunit/CiviTest/CiviUnitTestCase.php b/tests/phpunit/CiviTest/CiviUnitTestCase.php index 67cda7b0d7..95d0bb3d62 100644 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -242,7 +242,6 @@ class CiviUnitTestCase extends PHPUnit_Framework_TestCase { * * Initialize the test database if it hasn't been initialized * - * @return PHPUnit_Extensions_Database_DB_IDatabaseConnection connection */ protected function getConnection() { if (!self::$dbInit) { diff --git a/tools/scripts/phpunit-ls b/tools/scripts/phpunit-ls index 8e330c9f4a..0e5ff4bb5a 100755 --- a/tools/scripts/phpunit-ls +++ b/tools/scripts/phpunit-ls @@ -12,9 +12,8 @@ if (!class_exists('PHPUnit_Framework_TestCase')) { // Note: Use eval() to prevent IDE scanners from tripping up on this. eval(' class PHPUnit_Framework_TestCase {} - class PHPUnit_Extensions_Database_TestCase {} class PHPUnit_Extensions_SeleniumTestCase {} '); } -\Civi\CiUtil\Command\LsCommand::main($argv); \ No newline at end of file +\Civi\CiUtil\Command\LsCommand::main($argv); -- 2.25.1