From d4030efaac92ed52021f4f3c411d04dea0429172 Mon Sep 17 00:00:00 2001 From: Sebastian Bergmann Date: Thu, 18 Jul 2024 16:29:22 +0200 Subject: [PATCH] Update tests --- tests/unit/TextUI/Configuration/Cli/BuilderTest.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/unit/TextUI/Configuration/Cli/BuilderTest.php b/tests/unit/TextUI/Configuration/Cli/BuilderTest.php index 32213f0ea93..ed386b6bbe7 100644 --- a/tests/unit/TextUI/Configuration/Cli/BuilderTest.php +++ b/tests/unit/TextUI/Configuration/Cli/BuilderTest.php @@ -622,10 +622,10 @@ public function testGroup(): void $this->assertSame(['string'], $configuration->groups()); } - #[TestDox('--group string,another-string')] + #[TestDox('--group string --group another-string')] public function testGroups(): void { - $configuration = (new Builder)->fromParameters(['--group', 'string,another-string']); + $configuration = (new Builder)->fromParameters(['--group', 'string', '--group', 'another-string']); $this->assertTrue($configuration->hasGroups()); $this->assertSame(['string', 'another-string'], $configuration->groups()); @@ -651,10 +651,10 @@ public function testExcludeGroup(): void $this->assertSame(['string'], $configuration->excludeGroups()); } - #[TestDox('--exclude-group string,another-string')] + #[TestDox('--exclude-group string --exclude-group another-string')] public function testExcludeGroups(): void { - $configuration = (new Builder)->fromParameters(['--exclude-group', 'string,another-string']); + $configuration = (new Builder)->fromParameters(['--exclude-group', 'string', '--exclude-group', 'another-string']); $this->assertTrue($configuration->hasExcludeGroups()); $this->assertSame(['string', 'another-string'], $configuration->excludeGroups()); @@ -720,10 +720,10 @@ public function testTestSuffix(): void $this->assertSame(['string'], $configuration->testSuffixes()); } - #[TestDox('--test-suffix string,another-string')] + #[TestDox('--test-suffix string --test-suffix another-string')] public function testTestSuffixes(): void { - $configuration = (new Builder)->fromParameters(['--test-suffix', 'string,another-string']); + $configuration = (new Builder)->fromParameters(['--test-suffix', 'string', '--test-suffix', 'another-string']); $this->assertTrue($configuration->hasTestSuffixes()); $this->assertSame(['string', 'another-string'], $configuration->testSuffixes());