X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fmigrate%2Ftests%2Fsrc%2FUnit%2Fprocess%2FCallbackTest.php;fp=web%2Fcore%2Fmodules%2Fmigrate%2Ftests%2Fsrc%2FUnit%2Fprocess%2FCallbackTest.php;h=91eb2e7603e559fd2ff300383953309c0f4ce535;hp=e3b8f27708bd6e7d1251149762df3c2058eff8b7;hb=af6d1fb995500ae68849458ee10d66abbdcfb252;hpb=680c79a86e3ed402f263faeac92e89fb6d9edcc0 diff --git a/web/core/modules/migrate/tests/src/Unit/process/CallbackTest.php b/web/core/modules/migrate/tests/src/Unit/process/CallbackTest.php index e3b8f2770..91eb2e760 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/CallbackTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/CallbackTest.php @@ -30,7 +30,7 @@ class CallbackTest extends MigrateProcessTestCase { public function testCallbackWithFunction() { $this->plugin->setCallable('strtolower'); $value = $this->plugin->transform('FooBar', $this->migrateExecutable, $this->row, 'destinationproperty'); - $this->assertSame($value, 'foobar'); + $this->assertSame('foobar', $value); } /** @@ -39,7 +39,7 @@ class CallbackTest extends MigrateProcessTestCase { public function testCallbackWithClassMethod() { $this->plugin->setCallable(['\Drupal\Component\Utility\Unicode', 'strtolower']); $value = $this->plugin->transform('FooBar', $this->migrateExecutable, $this->row, 'destinationproperty'); - $this->assertSame($value, 'foobar'); + $this->assertSame('foobar', $value); } }