From 7ded0866c8f86366757149ab342b94d63190c8a5 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 14 Dec 2022 22:55:47 -0800 Subject: [PATCH] CiviUnitTestCase - Remove unused method requireDBReset --- tests/phpunit/CiviTest/CiviUnitTestCase.php | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/tests/phpunit/CiviTest/CiviUnitTestCase.php b/tests/phpunit/CiviTest/CiviUnitTestCase.php index ec409a222e..4c438deef8 100644 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -261,13 +261,6 @@ class CiviUnitTestCase extends PHPUnit\Framework\TestCase { } } - /** - * @return bool - */ - public function requireDBReset() { - return $this->DBResetRequired; - } - /** * @return string */ @@ -318,7 +311,7 @@ class CiviUnitTestCase extends PHPUnit\Framework\TestCase { $dbreset = TRUE; } else { - $dbreset = $object->requireDBReset(); + $dbreset = $object->DBResetRequired; } if (self::$populateOnce || !$dbreset) { -- 2.25.1