Skip to content

Commit d4030ef

Browse files
Update tests
1 parent b998240 commit d4030ef

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

tests/unit/TextUI/Configuration/Cli/BuilderTest.php

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -622,10 +622,10 @@ public function testGroup(): void
622622
$this->assertSame(['string'], $configuration->groups());
623623
}
624624

625-
#[TestDox('--group string,another-string')]
625+
#[TestDox('--group string --group another-string')]
626626
public function testGroups(): void
627627
{
628-
$configuration = (new Builder)->fromParameters(['--group', 'string,another-string']);
628+
$configuration = (new Builder)->fromParameters(['--group', 'string', '--group', 'another-string']);
629629

630630
$this->assertTrue($configuration->hasGroups());
631631
$this->assertSame(['string', 'another-string'], $configuration->groups());
@@ -651,10 +651,10 @@ public function testExcludeGroup(): void
651651
$this->assertSame(['string'], $configuration->excludeGroups());
652652
}
653653

654-
#[TestDox('--exclude-group string,another-string')]
654+
#[TestDox('--exclude-group string --exclude-group another-string')]
655655
public function testExcludeGroups(): void
656656
{
657-
$configuration = (new Builder)->fromParameters(['--exclude-group', 'string,another-string']);
657+
$configuration = (new Builder)->fromParameters(['--exclude-group', 'string', '--exclude-group', 'another-string']);
658658

659659
$this->assertTrue($configuration->hasExcludeGroups());
660660
$this->assertSame(['string', 'another-string'], $configuration->excludeGroups());
@@ -720,10 +720,10 @@ public function testTestSuffix(): void
720720
$this->assertSame(['string'], $configuration->testSuffixes());
721721
}
722722

723-
#[TestDox('--test-suffix string,another-string')]
723+
#[TestDox('--test-suffix string --test-suffix another-string')]
724724
public function testTestSuffixes(): void
725725
{
726-
$configuration = (new Builder)->fromParameters(['--test-suffix', 'string,another-string']);
726+
$configuration = (new Builder)->fromParameters(['--test-suffix', 'string', '--test-suffix', 'another-string']);
727727

728728
$this->assertTrue($configuration->hasTestSuffixes());
729729
$this->assertSame(['string', 'another-string'], $configuration->testSuffixes());

0 commit comments

Comments
 (0)