Skip to content

Commit

Permalink
Update template test assertion to use class notation
Browse files Browse the repository at this point in the history
  • Loading branch information
convenient committed Mar 2, 2017
1 parent 0ea2f68 commit de4f2c1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ public function testFetchViewWithNoFileNameDeveloperMode()
->method('getMode')
->willReturn(\Magento\Framework\App\State::MODE_DEVELOPER);

$this->setExpectedException('\Magento\Framework\Exception\ValidatorException', $exception);
$this->setExpectedException(\Magento\Framework\Exception\ValidatorException::class, $exception);
$this->block->fetchView($template);
}

Expand Down

0 comments on commit de4f2c1

Please sign in to comment.