From 8d1eeeaf18f58c26f8876da86239536dd0f3a188 Mon Sep 17 00:00:00 2001 From: Vladimir Reznichenko Date: Thu, 15 Feb 2018 10:52:50 +0100 Subject: [PATCH] SCA with Php Inspections (EA Ultimate) (#2212) --- Tests/FieldType/ImageIntegrationTest.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tests/FieldType/ImageIntegrationTest.php b/Tests/FieldType/ImageIntegrationTest.php index 157bbe17e..3aeb4b9fe 100644 --- a/Tests/FieldType/ImageIntegrationTest.php +++ b/Tests/FieldType/ImageIntegrationTest.php @@ -176,7 +176,7 @@ public function getInitialValue() array( 'data' => null, 'externalData' => array( - 'inputUri' => ($path = __DIR__ . '/_fixtures/image.jpg'), + 'inputUri' => __DIR__ . '/_fixtures/image.jpg', 'fileName' => 'Ice-Flower.jpg', 'alternativeText' => 'An icy flower.', ), @@ -219,7 +219,7 @@ public function getUpdatedValue() 'externalData' => array( // should be ignored 'id' => 'some/value', - 'inputUri' => ($path = __DIR__ . '/_fixtures/image.png'), + 'inputUri' => __DIR__ . '/_fixtures/image.png', 'fileName' => 'Blueish-Blue.jpg', 'alternativeText' => 'This blue is so blueish.', ), @@ -305,7 +305,7 @@ public function getDeprecatedIdPropertyValue() array( 'data' => null, 'externalData' => array( - 'id' => ($path = __DIR__ . '/_fixtures/image.jpg'), + 'id' => __DIR__ . '/_fixtures/image.jpg', 'fileName' => 'Ice-Flower.jpg', 'alternativeText' => 'An icy flower.', ),