Browse Source

replacement @expectedException to setExpectedException

master
Vyacheslav Agafonov 13 years ago
parent
commit
dfa661e2e8
  1. 2
      tests/RegistryTest.php

2
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');

Loading…
Cancel
Save