Merge pull request #79 from Ener-Getick/patch-1

Fix an unexpected behaviour with @deprecated tags
This commit is contained in:
Mike van Riel
2016-09-30 09:12:33 +02:00
committed by GitHub
2 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -161,6 +161,6 @@ class DeprecatedTest extends \PHPUnit_Framework_TestCase
*/
public function testFactoryMethodReturnsNullIfBodyDoesNotMatchRegex()
{
$this->assertNull(Deprecated::create('dkhf<'));
$this->assertEquals(new Deprecated(), Deprecated::create('dkhf<'));
}
}