Updated Drupal to 8.6. This goes with the following updates because it's possible...
[yaffs-website] / web / core / modules / migrate / tests / src / Unit / process / ConcatTest.php
index ea93e464377063c41bcfffdba96ce81c3dcf4ef8..8acbc11573a1be4de0f06d0a5257b992e29f452b 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,12 +47,13 @@ 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);
   }
 
 }
 
 class TestConcat extends Concat {
+
   public function __construct() {
   }