From e626ac36ee6b1d89ac73f35b7717fe37f52902d0 Mon Sep 17 00:00:00 2001 From: Tim Otten Date: Wed, 14 Dec 2022 23:02:11 -0800 Subject: [PATCH] CiviUnitTestCase - Remove unused property $_dbconn --- 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 feec9a0a23..603331a564 100644 --- a/tests/phpunit/CiviTest/CiviUnitTestCase.php +++ b/tests/phpunit/CiviTest/CiviUnitTestCase.php @@ -83,13 +83,6 @@ class CiviUnitTestCase extends PHPUnit\Framework\TestCase { */ private static $dbInit = FALSE; - /** - * Database connection. - * - * @var PHPUnit_Extensions_Database_DB_IDatabaseConnection - */ - protected $_dbconn; - /** * API version in use. * @@ -339,7 +332,7 @@ class CiviUnitTestCase extends PHPUnit\Framework\TestCase { } // Get and save a connection to the database - $this->_dbconn = $this->getConnection(); + $this->getConnection(); /* NOTE: Side-effects! */ // reload database before each test // $this->_populateDB(); -- 2.25.1