From 83f883c7cb8f1fc61f6c670f3196c925281b2a4c Mon Sep 17 00:00:00 2001 From: umherirrender Date: Fri, 23 Nov 2012 13:50:43 +0100 Subject: [PATCH] Fix data type for timestamp in TestORMRowTest 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 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/includes/db/TestORMRowTest.php b/tests/phpunit/includes/db/TestORMRowTest.php index 603992eeac..9739f4cf41 100644 --- a/tests/phpunit/includes/db/TestORMRowTest.php +++ b/tests/phpunit/includes/db/TestORMRowTest.php @@ -164,7 +164,7 @@ class TestORMTable extends ORMTable { 'awesome' => 'bool', 'stuff' => 'array', 'moarstuff' => 'blob', - 'time' => 'int', // TS_MW + 'time' => 'str', // TS_MW ); } -- 2.20.1