Skip to content
Snippets Groups Projects
Commit bcf90b17 authored by Angie Byron's avatar Angie Byron
Browse files

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

parent c3c61bc2
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -127,7 +127,8 @@ public function testNode() {
$node = Node::load(1);
$this->assertTrue($node->field_boolean->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('Some more text', $node->field_text_list[0]->value);
$this->assertIdentical('7', $node->field_integer_list[0]->value);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment