From dfa661e2e8509d8bd9d6508a193d9be0e2f861c7 Mon Sep 17 00:00:00 2001 From: Vyacheslav Agafonov Date: Thu, 1 Dec 2011 12:03:22 +0400 Subject: [PATCH] replacement @expectedException to setExpectedException --- tests/RegistryTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/RegistryTest.php b/tests/RegistryTest.php index 345a063..c5c17b3 100644 --- a/tests/RegistryTest.php +++ b/tests/RegistryTest.php @@ -58,10 +58,10 @@ class RegistryTest extends PHPUnit_Framework_TestCase /** * @TODO: Registry::isRegistered - check input for null - * @expectedException PHPUnit_Framework_Error */ public function testIsRegistered() { + $this->setExpectedException('PHPUnit_Framework_Error'); $this->assertFalse(Registry::isRegistered(43)); $this->_registry->set(3, 'three');