From d9dfd9d6199b15eba9510ef460e18c9245d9ab12 Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Sun, 30 Mar 2014 19:53:59 -0400 Subject: Add Mysql/MariaDB support --- tests/Base.php | 2 +- tests/CommentTest.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'tests') diff --git a/tests/Base.php b/tests/Base.php index ba664c3a..236d0000 100644 --- a/tests/Base.php +++ b/tests/Base.php @@ -3,7 +3,7 @@ require_once __DIR__.'/../vendor/PicoDb/Database.php'; require_once __DIR__.'/../core/event.php'; require_once __DIR__.'/../core/translator.php'; -require_once __DIR__.'/../models/schema.php'; +require_once __DIR__.'/../schemas/sqlite.php'; require_once __DIR__.'/../models/task.php'; require_once __DIR__.'/../models/acl.php'; require_once __DIR__.'/../models/comment.php'; diff --git a/tests/CommentTest.php b/tests/CommentTest.php index c23c4e51..52652711 100644 --- a/tests/CommentTest.php +++ b/tests/CommentTest.php @@ -63,8 +63,6 @@ class CommentTest extends Base $comment = $c->getById(1); $this->assertNotEmpty($comment); $this->assertEquals('bla', $comment['comment']); - - $this->assertFalse($c->update(array('id' => 4, 'comment' => 'bla'))); } public function testValidateCreation() -- cgit v1.2.3