removing setExpectedException() of setUp()

This commit is contained in:
Vyacheslav Agafonov
2011-12-02 11:17:13 +04:00
parent 64cb6f3f12
commit 1f1551aea1

View File

@ -30,8 +30,6 @@ class AutoloadBuilderTestVFS extends PHPUnit_Framework_TestCase
*/ */
public function setUp() public function setUp()
{ {
$this->setExpectedException('UnexpectedValueException');
$this->setExpectedException('PHPUnit_Framework_Error');
if (!defined('PATH')) { if (!defined('PATH')) {
define('PATH', realpath(dirname(__FILE__) . '/../../../..')); define('PATH', realpath(dirname(__FILE__) . '/../../../..'));
} }