Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / migrate / tests / src / Unit / process / ExtractTest.php
index 14f3f9afa0c6da67b4fa4e35a6d88dca1ebdb202..ad0a45a2560aef1fe0f11ca2f3e3ce918210843b 100644 (file)
@@ -25,7 +25,7 @@ class ExtractTest extends MigrateProcessTestCase {
    */
   public function testExtract() {
     $value = $this->plugin->transform(['foo' => 'bar'], $this->migrateExecutable, $this->row, 'destinationproperty');
-    $this->assertSame($value, 'bar');
+    $this->assertSame('bar', $value);
   }
 
   /**
@@ -50,7 +50,7 @@ class ExtractTest extends MigrateProcessTestCase {
   public function testExtractFailDefault() {
     $plugin = new Extract(['index' => ['foo'], 'default' => 'test'], 'map', []);
     $value = $plugin->transform(['bar' => 'foo'], $this->migrateExecutable, $this->row, 'destinationproperty');
-    $this->assertSame($value, 'test', '');
+    $this->assertSame('test', $value, '');
   }
 
 }