Browse Source

modified ModelTest for strict PHP standarts

master
Anton Grebnev 13 years ago
parent
commit
0f2aa46b9f
  1. 2
      tests/model/ModelTest.php

2
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);

Loading…
Cancel
Save