X-Git-Url: http://aleph1.co.uk/gitweb/?a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fmigrate%2Ftests%2Fsrc%2FUnit%2Fprocess%2FFlattenTest.php;h=496cf92216667902702c13d155600eb248a52a44;hb=4f1b9b4ab48a8498afac9e2213a02a23ccf4a06c;hp=73b20c238f4872600eba7ab2d3774af126fe5214;hpb=9917807b03b64faf00f6a1f29dcb6eafc454efa5;p=yaffs-website diff --git a/web/core/modules/migrate/tests/src/Unit/process/FlattenTest.php b/web/core/modules/migrate/tests/src/Unit/process/FlattenTest.php index 73b20c238..496cf9221 100644 --- a/web/core/modules/migrate/tests/src/Unit/process/FlattenTest.php +++ b/web/core/modules/migrate/tests/src/Unit/process/FlattenTest.php @@ -17,7 +17,7 @@ class FlattenTest extends MigrateProcessTestCase { public function testFlatten() { $plugin = new Flatten([], 'flatten', []); $flattened = $plugin->transform([1, 2, [3, 4, [5]], [], [7, 8]], $this->migrateExecutable, $this->row, 'destinationproperty'); - $this->assertSame($flattened, [1, 2, 3, 4, 5, 7, 8]); + $this->assertSame([1, 2, 3, 4, 5, 7, 8], $flattened); } }