test_stuff BLOB NOT NULL,
test_moarstuff BLOB NOT NULL,
test_time varbinary(14) NOT NULL
- );'
+ );',
+ __METHOD__
);
}
+ protected function tearDown() {
+ $dbw = wfGetDB( DB_MASTER );
+ $dbw->dropTable( 'orm_test', __METHOD__ );
+
+ parent::tearDown();
+ }
+
public function constructorTestProvider() {
return array(
array(
'awesome' => 'bool',
'stuff' => 'array',
'moarstuff' => 'blob',
- 'time' => 'int', // TS_MW
+ 'time' => 'str', // TS_MW
);
}