Skip to content

Commit

Permalink
bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
mcustiel committed Jul 7, 2016
1 parent 8c65c44 commit 7ef6204
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Server/Utils/FileExpectationsLoader.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function loadExpectationFromFile($fileName)
Expectation::class,
RequestBuilder::RETURN_ALL_ERRORS_IN_EXCEPTION
);
$this->validateExpectation($expectation, $this->logger);
$this->validateExpectationOrThrowException($expectation, $this->logger);

$this->logger->debug('Parsed expectation: ' . var_export($expectation, true));
$this->storage->addExpectation($expectation);
Expand Down

0 comments on commit 7ef6204

Please sign in to comment.