X-Git-Url: http://www.aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fmigrate%2Ftests%2Fsrc%2FUnit%2Fprocess%2FConcatTest.php;h=8acbc11573a1be4de0f06d0a5257b992e29f452b;hb=0bf8d09d2542548982e81a441b1f16e75873a04f;hp=ea93e464377063c41bcfffdba96ce81c3dcf4ef8;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/migrate/tests/src/Unit/process/ConcatTest.php b/web/core/modules/migrate/tests/src/Unit/process/ConcatTest.php index ea93e4643..8acbc1157 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/ConcatTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/ConcatTest.php @@ -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() { }