From: umherirrender Date: Fri, 23 Nov 2012 12:50:43 +0000 (+0100) Subject: Fix data type for timestamp in TestORMRowTest X-Git-Tag: 1.31.0-rc.0~21507^2 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=83f883c7cb8f1fc61f6c670f3196c925281b2a4c;p=lhc%2Fweb%2Fwiklou.git 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 --- 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 ); }