BUG 0000 "PHPUNIT instantiation classToolBarTest.php" SOLVED
- Instantiation of the class - Formatting file to PSR2
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user