X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fmigrate%2Ftests%2Fsrc%2FUnit%2Fprocess%2FExtractTest.php;h=ad0a45a2560aef1fe0f11ca2f3e3ce918210843b;hb=4f1b9b4ab48a8498afac9e2213a02a23ccf4a06c;hp=14f3f9afa0c6da67b4fa4e35a6d88dca1ebdb202;hpb=a2bd1bf0c2c1f1a17d188f4dc0726a45494cefae;p=yaffs-website diff --git a/web/core/modules/migrate/tests/src/Unit/process/ExtractTest.php b/web/core/modules/migrate/tests/src/Unit/process/ExtractTest.php index 14f3f9afa..ad0a45a25 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/ExtractTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/ExtractTest.php @@ -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, ''); } }