diff --git a/tests/TestCase/Database/ConnectionTest.php b/tests/TestCase/Database/ConnectionTest.php index 173eac79f98..04a1e66d838 100644 --- a/tests/TestCase/Database/ConnectionTest.php +++ b/tests/TestCase/Database/ConnectionTest.php @@ -28,7 +28,7 @@ class ConnectionTest extends TestCase { public function setUp() { $this->connection = ConnectionManager::get('test'); - $this->skipIf($this->connection()->driver() instanceof \Cake\Database\Driver\Sqlite); + $this->skipIf($this->connection->driver() instanceof \Cake\Database\Driver\Sqlite); parent::setUp(); }