From a388c15650dc09012892c1cdd4ce2bad2bf0dd3b Mon Sep 17 00:00:00 2001 From: Joby Elliott Date: Wed, 13 Mar 2019 10:04:00 -0600 Subject: [PATCH] fixing tests --- tests/HarnessDriver.php | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tests/HarnessDriver.php b/tests/HarnessDriver.php index 9e2e51c..633f132 100644 --- a/tests/HarnessDriver.php +++ b/tests/HarnessDriver.php @@ -10,10 +10,14 @@ class HarnessDriver implements Drivers\DSODriverInterface public $last_update; public $last_delete; - public function __construct(string $dsn, string $username=null, string $password=null, array $options=null) + public function __construct(string $dsn=null, string $username=null, string $password=null, array $options=null) { } + public function &pdo(\PDO &$pdo=null) : ?\PDO { + return null; + } + public function createTable(string $table, array $virtualColumns) : bool { //TODO: add tests for this too