Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / migrate / tests / src / Unit / process / GetTest.php
index 01ab2da74d2db11391940aa75164877400cd7ad7..59ce8b68f8d33f56034335d00f3de87ffdfe153e 100644 (file)
@@ -48,7 +48,9 @@ class GetTest extends MigrateProcessTestCase {
     $this->plugin->setSource(['test1', 'test2']);
     $this->row->expects($this->exactly(2))
       ->method('getSourceProperty')
-      ->will($this->returnCallback(function ($argument)  use ($map) { return $map[$argument]; } ));
+      ->will($this->returnCallback(function ($argument) use ($map) {
+        return $map[$argument];
+      }));
     $value = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destinationproperty');
     $this->assertSame($value, ['source_value1', 'source_value2']);
   }
@@ -79,7 +81,9 @@ class GetTest extends MigrateProcessTestCase {
     $this->plugin->setSource(['test1', '@@test2', '@@test3', 'test4']);
     $this->row->expects($this->exactly(4))
       ->method('getSourceProperty')
-      ->will($this->returnCallback(function ($argument)  use ($map) { return $map[$argument]; } ));
+      ->will($this->returnCallback(function ($argument) use ($map) {
+        return $map[$argument];
+      }));
     $value = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destinationproperty');
     $this->assertSame($value, ['source_value1', 'source_value2', 'source_value3', 'source_value4']);
   }