From 7c5b900bd83b6b9bdb5656eb169381ff46f8106a Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Fri, 20 Jun 2014 15:41:05 -0300 Subject: First API implementation --- tests/Base.php | 57 --------------------------------------------------------- 1 file changed, 57 deletions(-) delete mode 100644 tests/Base.php (limited to 'tests/Base.php') diff --git a/tests/Base.php b/tests/Base.php deleted file mode 100644 index d4065982..00000000 --- a/tests/Base.php +++ /dev/null @@ -1,57 +0,0 @@ -db = $this->getDbConnection(); - $this->event = new \Core\Event; - } - - public function getDbConnection() - { - $db = new \PicoDb\Database(array( - 'driver' => 'sqlite', - 'filename' => ':memory:' - )); - - if ($db->schema()->check(\Schema\VERSION)) { - return $db; - } - else { - die('Unable to migrate database schema!'); - } - } -} -- cgit v1.2.3