Fix data type for timestamp in TestORMRowTest
authorumherirrender <umherirrender_de.wp@web.de>
Fri, 23 Nov 2012 12:50:43 +0000 (13:50 +0100)
committerumherirrender <umherirrender_de.wp@web.de>
Fri, 23 Nov 2012 12:50:43 +0000 (13:50 +0100)
1) TestORMRowTest::testConstructor with data set #0 (array('Foobar',
'20120101020202', 42, 9000.1, true, array(13, 11, 7, 5, 3, 2),
stdClass), true)
Failed asserting that 2147483647 matches expected '20120101020202'.

Change-Id: I4dddaedf4e386c2061ee79fe0ab18af59033f052

tests/phpunit/includes/db/TestORMRowTest.php

index 603992e..9739f4c 100644 (file)
@@ -164,7 +164,7 @@ class TestORMTable extends ORMTable {
                        'awesome' => 'bool',
                        'stuff' => 'array',
                        'moarstuff' => 'blob',
-                       'time' => 'int', // TS_MW
+                       'time' => 'str', // TS_MW
                );
        }