Commit bcf90b17 authored by webchick's avatar webchick

Issue #2566723 by amateescu: New test fail on PHP 5.5 & SQLite 3.8

parent c3c61bc2
...@@ -127,7 +127,8 @@ public function testNode() { ...@@ -127,7 +127,8 @@ public function testNode() {
$node = Node::load(1); $node = Node::load(1);
$this->assertTrue($node->field_boolean->value); $this->assertTrue($node->field_boolean->value);
$this->assertIdentical('99-99-99-99', $node->field_phone->value); $this->assertIdentical('99-99-99-99', $node->field_phone->value);
$this->assertIdentical('1', $node->field_float->value); // Use assertEqual() here instead, since SQLite interprets floats strictly.
$this->assertEqual('1', $node->field_float->value);
$this->assertIdentical('5', $node->field_integer->value); $this->assertIdentical('5', $node->field_integer->value);
$this->assertIdentical('Some more text', $node->field_text_list[0]->value); $this->assertIdentical('Some more text', $node->field_text_list[0]->value);
$this->assertIdentical('7', $node->field_integer_list[0]->value); $this->assertIdentical('7', $node->field_integer_list[0]->value);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment