diff --git a/tests/src/Unit/process/TransposeTest.php b/tests/src/Unit/process/TransposeTest.php index 19bde9b7bfd4996cd2b755faab16bd72118c34ea..30f08e26b76f616ef404a1e9a6a0148a9e4febdf 100644 --- a/tests/src/Unit/process/TransposeTest.php +++ b/tests/src/Unit/process/TransposeTest.php @@ -49,11 +49,24 @@ class TransposeTest extends MigrateProcessTestCase { 'expected_output' => [], ], 'image files and alt text' => [ - 'input' => [['2.png', '3.png', '5.png', '7.png'], ['two', 'three', 'five', 'seven']], - 'expected_output' => [['2.png', 'two'], ['3.png', 'three'], ['5.png', 'five'], ['7.png', 'seven']], + 'input' => [ + 'src' => ['2.png', '3.png', '5.png', '7.png'], + 'alt' => ['two', 'three', 'five', 'seven'], + ], + 'expected_output' => [ + ['2.png', 'two'], + ['3.png', 'three'], + ['5.png', 'five'], + ['7.png', 'seven'], + ], ], 'indexed arrays' => [ - 'input' => [['a' => 1, 'b' => 2], ['c' => 3, 'd' => 4], ['e' => 5, 'f' => 6], ['g' => 7, 'h' => 8]], + 'input' => [ + ['a' => 1, 'b' => 2], + ['c' => 3, 'd' => 4], + ['e' => 5, 'f' => 6], + ['g' => 7, 'h' => 8], + ], 'output' => [[1, 3, 5, 7], [2, 4, 6, 8]], ], ];