Skip to content

Commit 664d7e8

Browse files
author
Silvan Thus
committed
Fix tests
1 parent 18c0bc5 commit 664d7e8

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

Tests/ProcessorTest.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,7 @@ public function testParameterHandling($testCaseName)
115115
$this->setInteractionExpectations($testCase);
116116

117117
if (!empty($testCase['expect-exception'])) {
118-
$this->setExpectedException($testCase['expect-exception']);
119-
return;
118+
$this->expectException($testCase['expect-exception']);
120119
}
121120

122121
$this->processor->processFile($testCase['config']);

Tests/fixtures/testcases/exception_when_missing_false/setup.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,3 @@ config:
77

88
environment:
99
IC_TEST_PROVIDED: bar
10-

0 commit comments

Comments
 (0)