* @licence GNU GPL v2+
* @author Jeroen De Dauw < jeroendedauw@gmail.com >
*/
+require_once dirname( __FILE__ ) . "/ORMRowTest.php";
+
class TestORMRowTest extends ORMRowTest {
/**
* @return IORMTable
*/
protected function getTableInstance() {
- return TestORMtable::singleton();
+ return TestORMTable::singleton();
}
public function setUp() {
$idField = $isSqlite ? 'INTEGER' : 'INT unsigned';
$primaryKey = $isSqlite ? 'PRIMARY KEY AUTOINCREMENT' : 'auto_increment PRIMARY KEY';
- $dbw->safeQuery(
+ $dbw->query(
'CREATE TABLE IF NOT EXISTS ' . $dbw->tableName( 'orm_test' ) . '(
test_id ' . $idField . ' NOT NULL ' . $primaryKey . ',
test_name VARCHAR(255) NOT NULL,