diff --git a/core/modules/config/src/Tests/SchemaCheckTraitTest.php b/core/modules/config/src/Tests/SchemaCheckTraitTest.php
index c0de5d7f8b00682fe7065f44a8c7e52135ce0242..25d150da8bcace5e1f3233bac70c9d7e3c18e0bd 100644
--- a/core/modules/config/src/Tests/SchemaCheckTraitTest.php
+++ b/core/modules/config/src/Tests/SchemaCheckTraitTest.php
@@ -66,7 +66,7 @@ public function testTrait() {
       'config_test.types:new_array' => 'missing schema',
       'config_test.types:boolean' => 'non-scalar value but not defined as an array (such as mapping or sequence)',
     );
-    $this->assertIdentical($ret, $expected);
+    $this->assertEqual($ret, $expected);
   }
 
 }