BUG 0000 "PHPUNIT instantiation classToolBarTest.php" SOLVED

- Instantiation of the class
- Formatting file to PSR2
This commit is contained in:
Victor Saisa Lopez
2012-07-13 16:34:29 -04:00
parent 8782988fa0
commit 910768575c

View File

@@ -26,7 +26,7 @@ class classToolBarTest extends PHPUnit_Framework_TestCase
*/
protected function setUp()
{
$this->object = new ToolBar();
$this->object = new ToolBar("users/users_New.xml");
}
/**
@@ -38,12 +38,13 @@ class classToolBarTest extends PHPUnit_Framework_TestCase
}
/**
* This is the default method to test, if the class still having
* This is the default method to test, if the class still having
* the same number of methods.
*/
public function testNumberOfMethodsInThisClass()
{
$methods = get_class_methods('ToolBar'); $this->assertTrue( count($methods) == 13);
$methods = get_class_methods('ToolBar');
$this->assertTrue(count($methods) == 13);
}
}
}