diff --git a/core/tests/Drupal/Tests/Core/Image/ImageTest.php b/core/tests/Drupal/Tests/Core/Image/ImageTest.php index 7b82745..f4a2aa6 100644 --- a/core/tests/Drupal/Tests/Core/Image/ImageTest.php +++ b/core/tests/Drupal/Tests/Core/Image/ImageTest.php @@ -295,7 +295,7 @@ public function testExif() { $this->assertNull($this->image->getExif('Orientation')); $this->assertEquals(ImageToolkitExifInterface::EXIF_UNSUPPORTED_FORMAT, $this->image->getExifStatus()); $this->assertNull($this->image->getExif('FileName')); - $this->assertEquals([], $this->image->getExif()); + $this->assertNull($this->image->getExif()); // Test a JPEG image without EXIF data. $source = __DIR__ . '/../../../../../modules/simpletest/files/image-test.jpg'; @@ -327,7 +327,7 @@ public function testExif() { // Test resetting EXIF data via createNew. $this->image->createNew(200, 200); $this->assertEquals(ImageToolkitExifInterface::EXIF_RESET, $this->image->getExifStatus()); - $this->assertEquals([], $this->image->getExif()); + $this->assertNull($this->image->getExif()); } /**