Skip to content

Commit

Permalink
Fix CS
Browse files Browse the repository at this point in the history
  • Loading branch information
Majkl578 committed Feb 13, 2018
1 parent ad36e80 commit 95b35dc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/DateTimeProvider/ConstantProviderFactoryTest.phpt
Original file line number Diff line number Diff line change
Expand Up @@ -89,11 +89,11 @@ class ConstantProviderFactoryTest extends \Tester\TestCase

public function testCreateFromUnknownException(): void
{
Assert::exception(function () {
Assert::exception(function (): void {
(new ConstantProviderFactory())->create('blablabla');
}, \Kdyby\DateTimeProvider\NotImplementedException::class, 'Cannot process datetime in given format "blablabla"');

Assert::exception(function () {
Assert::exception(function (): void {
(new ConstantProviderFactory())->create(new stdClass());
}, \Kdyby\DateTimeProvider\NotImplementedException::class, 'Cannot process datetime from given value stdClass');
}
Expand Down

0 comments on commit 95b35dc

Please sign in to comment.