From 0f2aa46b9f877f00254828d12db49734e293ddd5 Mon Sep 17 00:00:00 2001 From: Anton Grebnev Date: Tue, 8 Nov 2011 11:43:54 +0400 Subject: [PATCH] modified ModelTest for strict PHP standarts --- tests/model/ModelTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/model/ModelTest.php b/tests/model/ModelTest.php index d9a3e62..e089eca 100644 --- a/tests/model/ModelTest.php +++ b/tests/model/ModelTest.php @@ -279,7 +279,7 @@ abstract class MyDbDriver extends DbDriver return $table; } - public function query($sql, $params) + public function query($sql, $params = array()) { $conf = array('driver' => 'MockDbDriver', 'hostname' => 'localhost', 'database' => 'db', 'username' => 'test', 'password' => '1234'); return new MockDbDriver($conf);