Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / media / tests / src / Kernel / MediaTest.php
index ea76a2e6738309a201286b7135cc82a0e39592eb..9c7ca28eef9a3ec4a222a1dc653904151e0b60f7 100644 (file)
@@ -31,7 +31,7 @@ class MediaTest extends MediaKernelTestBase {
     // Ensure media name is configurable on manage display.
     $this->assertTrue($field_definitions['name']->isDisplayConfigurable('view'));
     // Ensure it is not visible by default.
-    $this->assertEquals($field_definitions['name']->getDisplayOptions('view'), ['region' => 'hidden']);
+    $this->assertSame($field_definitions['name']->getDisplayOptions('view'), ['region' => 'hidden']);
   }
 
 }