Skip to content

Commit

Permalink
Merge branch '11.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianbergmann committed Jul 19, 2024
2 parents 0529b8e + b874d11 commit 176f506
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions tests/unit/TextUI/Configuration/Cli/BuilderTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -1142,6 +1142,39 @@ public function testOrderByInvalid(): void
(new Builder)->fromParameters(['--order-by', 'invalid']);
}

public function testExecutionOrderMayNotBeConfigured(): void
{
$configuration = (new Builder)->fromParameters([]);

$this->assertFalse($configuration->hasExecutionOrder());

$this->expectException(Exception::class);

$configuration->executionOrder();
}

public function testExecutionOrderDefectsMayNotBeConfigured(): void
{
$configuration = (new Builder)->fromParameters([]);

$this->assertFalse($configuration->hasExecutionOrderDefects());

$this->expectException(Exception::class);

$configuration->executionOrderDefects();
}

public function testResolveDependenciesMayNotBeConfigured(): void
{
$configuration = (new Builder)->fromParameters([]);

$this->assertFalse($configuration->hasResolveDependencies());

$this->expectException(Exception::class);

$configuration->resolveDependencies();
}

#[TestDox('--process-isolation')]
public function testProcessIsolation(): void
{
Expand Down

0 comments on commit 176f506

Please sign in to comment.