diff --git a/core/modules/system/src/Tests/Database/SelectTest.php b/core/modules/system/src/Tests/Database/SelectTest.php index bba0d73..d92c3a8 100644 --- a/core/modules/system/src/Tests/Database/SelectTest.php +++ b/core/modules/system/src/Tests/Database/SelectTest.php @@ -42,7 +42,7 @@ function testSimpleComment() { $expected = "/* Testing query comments */"; $this->assertEqual(count($records), 4, 'Returned the correct number of rows.'); - $this->assertNotEqual(FALSE, strpos($query, $expected), 'The flattened query contains the comment string.'); + $this->assertNotIdentical(FALSE, strpos($query, $expected), 'The flattened query contains the comment string.'); } /** @@ -60,7 +60,7 @@ function testVulnerableComment() { $expected = "/* Testing query comments SELECT nid FROM {node}; -- */"; $this->assertEqual(count($records), 4, 'Returned the correct number of rows.'); - $this->assertNotEqual(FALSE, strpos($query, $expected), 'The flattened query contains the sanitised comment string.'); + $this->assertNotIdentical(FALSE, strpos($query, $expected), 'The flattened query contains the sanitised comment string.'); } /**