Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / media / tests / src / Kernel / MediaSourceFileTest.php
index 65d472324b3cd7324d85c6d58f240b104ed4386c..c36f2b63975ffa952331c8ee809993aac7e583af 100644 (file)
@@ -18,7 +18,7 @@ class MediaSourceFileTest extends MediaKernelTestBase {
     $media = $this->generateMedia('test.patch', $mediaType);
     $result = $media->validate();
     $this->assertCount(1, $result);
-    $this->assertEquals('field_media_file.0', $result->get(0)->getPropertyPath());
+    $this->assertSame('field_media_file.0', $result->get(0)->getPropertyPath());
     $this->assertContains('Only files with the following extensions are allowed:', (string) $result->get(0)->getMessage());
 
     // Create a random file that should pass.