Skip to content

Commit

Permalink
Use FQNs for PHPUnit
Browse files Browse the repository at this point in the history
  • Loading branch information
kelunik committed May 15, 2017
1 parent 1d43cc9 commit 8c4dc07
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions test/InjectorTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@ public function testMakeInstanceThrowsExceptionOnUntypehintedParameterWithoutDef

/**
* @TODO
* @expectedException Auryn\InjectorException
* @expectedException \Auryn\InjectorException
*/
public function testMakeInstanceThrowsExceptionOnUninstantiableTypehintWithoutDefinition()
{
Expand Down Expand Up @@ -291,7 +291,7 @@ public function testMakeInstanceWithStringDelegate()
}

/**
* @expectedException Auryn\ConfigException
* @expectedException \Auryn\ConfigException
*/
public function testMakeInstanceThrowsExceptionIfStringDelegateClassHasNoInvokeMethod()
{
Expand All @@ -300,7 +300,7 @@ public function testMakeInstanceThrowsExceptionIfStringDelegateClassHasNoInvokeM
}

/**
* @expectedException Auryn\ConfigException
* @expectedException \Auryn\ConfigException
*/
public function testMakeInstanceThrowsExceptionIfStringDelegateClassInstantiationFails()
{
Expand Down Expand Up @@ -368,7 +368,7 @@ public function provideInvalidDelegates()

/**
* @dataProvider provideInvalidDelegates
* @expectedException Auryn\ConfigException
* @expectedException \Auryn\ConfigException
*/
public function testDelegateThrowsExceptionIfDelegateIsNotCallableOrString($badDelegate)
{
Expand Down Expand Up @@ -594,7 +594,7 @@ public function testInterfaceFactoryDelegation()
}

/**
* @expectedException Auryn\InjectorException
* @expectedException \Auryn\InjectorException
*/
public function testMissingAlias()
{
Expand Down

0 comments on commit 8c4dc07

Please sign in to comment.