diff core/modules/media/tests/src/Kernel/MediaSourceFileTest.php @ 4:a9cd425dd02b

Update, including to Drupal core 8.6.10
author Chris Cannam
date Thu, 28 Feb 2019 13:11:55 +0000
parents c75dbcec494b
children
line wrap: on
line diff
--- a/core/modules/media/tests/src/Kernel/MediaSourceFileTest.php	Thu Feb 28 11:14:44 2019 +0000
+++ b/core/modules/media/tests/src/Kernel/MediaSourceFileTest.php	Thu Feb 28 13:11:55 2019 +0000
@@ -18,7 +18,7 @@
     $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.