From 3fc0c651fdd2745283535f80d317725b6cbce331 Mon Sep 17 00:00:00 2001 From: Julio Cesar Laura Date: Fri, 13 Jul 2012 16:39:58 -0400 Subject: [PATCH] classcssFileTest.php instance fixed, code standard checked --- .../workflow/engine/classes/classcssFileTest.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/automated/workflow/engine/classes/classcssFileTest.php b/tests/automated/workflow/engine/classes/classcssFileTest.php index 076091aed..e45a73533 100644 --- a/tests/automated/workflow/engine/classes/classcssFileTest.php +++ b/tests/automated/workflow/engine/classes/classcssFileTest.php @@ -26,7 +26,7 @@ class classcssFileTest extends PHPUnit_Framework_TestCase */ protected function setUp() { - $this->object = new cssFile(); + $this->object = new cssFile('sNamespace', 'sCssFile'); } /** @@ -38,12 +38,13 @@ class classcssFileTest 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('cssFile'); $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('cssFile'); + $this->assertTrue( count($methods) == 1); } /** @@ -62,6 +63,6 @@ class classcssFileTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[1]->getName() == 'sCssFile'); $this->assertTrue( $params[1]->isArray() == false); $this->assertTrue( $params[1]->isOptional () == false); - } + } +} - }