Skip to content

Commit

Permalink
removed deprecated phpunit method call
Browse files Browse the repository at this point in the history
  • Loading branch information
Sean Fraser committed Mar 21, 2017
1 parent 77c5ecb commit 5451280
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/DataType/RegistryTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public function test_it_throws_an_exception_if_no_handler_set()
{
$registry = new Registry();

$this->setExpectedException(DataTypeException::class);
$this->expectException(DataTypeException::class);
$registry->getHandlerForType('foo');
}

Expand Down Expand Up @@ -65,7 +65,7 @@ public function test_it_throws_an_exception_if_no_type_matches_value()
{
$registry = new Registry();

$this->setExpectedException(DataTypeException::class);
$this->expectException(DataTypeException::class);

$registry->getTypeForValue([]);
}
Expand Down

0 comments on commit 5451280

Please sign in to comment.