From 910768575c186f1637a2f66d036c845628745e9a Mon Sep 17 00:00:00 2001 From: Victor Saisa Lopez Date: Fri, 13 Jul 2012 16:34:29 -0400 Subject: [PATCH] BUG 0000 "PHPUNIT instantiation classToolBarTest.php" SOLVED - Instantiation of the class - Formatting file to PSR2 --- .../workflow/engine/classes/classToolBarTest.php | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/tests/automated/workflow/engine/classes/classToolBarTest.php b/tests/automated/workflow/engine/classes/classToolBarTest.php index 5c51dfad0..e925c4104 100644 --- a/tests/automated/workflow/engine/classes/classToolBarTest.php +++ b/tests/automated/workflow/engine/classes/classToolBarTest.php @@ -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); } +} - }