Updated to Drupal 8.5. Core Media not yet in use.
[yaffs-website] / web / core / modules / migrate / tests / src / Unit / process / SubProcessTest.php
index dfcdec3bc3648dc17124bd8e6e032aab482fba86..1d9061bec55b6c26d3a326295a240493edafe252 100644 (file)
@@ -73,10 +73,10 @@ class SubProcessTest extends MigrateTestCase {
     // values ended up in the proper destinations, and that the value of the
     // key (@id) is the same as the destination ID (42).
     $new_value = $plugin->transform($current_value, $migrate_executable, $row, 'test');
-    $this->assertSame(count($new_value), 1);
-    $this->assertSame(count($new_value[42]), 2);
-    $this->assertSame($new_value[42]['foo'], 'test');
-    $this->assertSame($new_value[42]['id'], 42);
+    $this->assertSame(1, count($new_value));
+    $this->assertSame(2, count($new_value[42]));
+    $this->assertSame('test', $new_value[42]['foo']);
+    $this->assertSame(42, $new_value[42]['id']);
   }
 
 }