diff --git a/tests/lib/User/Database.php b/tests/lib/User/Database.php index c86341a4..c241fbcd 100644 --- a/tests/lib/User/Database.php +++ b/tests/lib/User/Database.php @@ -8,6 +8,8 @@ use PasswordGenerator\Generator as PassGen; class Database extends DriverSkeleton { + public $db = []; + public function __construct(\JKingWeb\NewsSync\RuntimeData $data) { $this->data = $data; } diff --git a/tests/lib/User/DriverExternalMock.php b/tests/lib/User/DriverExternalMock.php index c5428ce1..3c813c2b 100644 --- a/tests/lib/User/DriverExternalMock.php +++ b/tests/lib/User/DriverExternalMock.php @@ -7,7 +7,7 @@ use PasswordGenerator\Generator as PassGen; class DriverExternalMock extends DriverSkeleton implements Driver { - protected $db = []; + public $db = []; protected $data; protected $functions = [ "auth" => Driver::FUNC_EXTERNAL, diff --git a/tests/lib/User/DriverInternalMock.php b/tests/lib/User/DriverInternalMock.php index df7f8030..c1c65978 100644 --- a/tests/lib/User/DriverInternalMock.php +++ b/tests/lib/User/DriverInternalMock.php @@ -5,7 +5,7 @@ use JKingWeb\NewsSync\User\Driver; class DriverInternalMock extends Database implements Driver { - protected $db = []; + public $db = []; protected $data; protected $functions = [ "auth" => Driver::FUNC_INTERNAL,