projects
/
yaffs-website
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Further Drupal 8.6.4 changes. Some core files were not committed before a commit...
[yaffs-website]
/
web
/
core
/
modules
/
media
/
tests
/
src
/
Kernel
/
MediaSourceFileTest.php
diff --git
a/web/core/modules/media/tests/src/Kernel/MediaSourceFileTest.php
b/web/core/modules/media/tests/src/Kernel/MediaSourceFileTest.php
index 65d472324b3cd7324d85c6d58f240b104ed4386c..c36f2b63975ffa952331c8ee809993aac7e583af 100644
(file)
--- a/
web/core/modules/media/tests/src/Kernel/MediaSourceFileTest.php
+++ b/
web/core/modules/media/tests/src/Kernel/MediaSourceFileTest.php
@@
-18,7
+18,7
@@
class MediaSourceFileTest extends MediaKernelTestBase {
$media = $this->generateMedia('test.patch', $mediaType);
$result = $media->validate();
$this->assertCount(1, $result);
$media = $this->generateMedia('test.patch', $mediaType);
$result = $media->validate();
$this->assertCount(1, $result);
- $this->assert
Equals
('field_media_file.0', $result->get(0)->getPropertyPath());
+ $this->assert
Same
('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.
$this->assertContains('Only files with the following extensions are allowed:', (string) $result->get(0)->getMessage());
// Create a random file that should pass.