Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / migrate / tests / src / Unit / process / ConcatTest.php
index ea93e464377063c41bcfffdba96ce81c3dcf4ef8..e7873fee398897da16d51df69deaa408d79ec87f 100644 (file)
@@ -30,7 +30,7 @@ class ConcatTest extends MigrateProcessTestCase {
    */
   public function testConcatWithoutDelimiter() {
     $value = $this->plugin->transform(['foo', 'bar'], $this->migrateExecutable, $this->row, 'destinationproperty');
-    $this->assertSame($value, 'foobar');
+    $this->assertSame('foobar', $value);
   }
 
   /**
@@ -47,7 +47,7 @@ class ConcatTest extends MigrateProcessTestCase {
   public function testConcatWithDelimiter() {
     $this->plugin->setDelimiter('_');
     $value = $this->plugin->transform(['foo', 'bar'], $this->migrateExecutable, $this->row, 'destinationproperty');
-    $this->assertSame($value, 'foo_bar');
+    $this->assertSame('foo_bar', $value);
   }
 
 }