Pass the correct values to the next command in the

...chain
This commit is contained in:
Oliver Davies 2024-10-31 12:00:00 +00:00
parent 2b180e967c
commit 05f7c2b609
2 changed files with 3 additions and 3 deletions

View file

@ -18,8 +18,8 @@ class RemoveIgnoredFilesCommandTest extends KernelTestCase
$command = new RemoveIgnoredFilesCommand($filenamesToIgnore);
$command->execute([[], [], $filenamesToGenerate], function ($result) {
self::assertCount(1, $result[1]);
self::assertSame('phpcs.xml.dist', $result[1][0]->name);
self::assertCount(1, $result[2]);
self::assertSame('phpcs.xml.dist', $result[2][0]->name);
});
}
}