From c3b875cf21f705a12c61c478cbd35dedbaf2c6bd Mon Sep 17 00:00:00 2001 From: Julio Cesar Laura Date: Fri, 13 Jul 2012 16:46:05 -0400 Subject: [PATCH] classwsGetCaseNotesResponseTest.php instance fixed, code standard checked --- .../classes/classwsGetCaseNotesResponseTest.php | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/tests/automated/workflow/engine/classes/classwsGetCaseNotesResponseTest.php b/tests/automated/workflow/engine/classes/classwsGetCaseNotesResponseTest.php index 5fa77c138..bbfcd6ef3 100644 --- a/tests/automated/workflow/engine/classes/classwsGetCaseNotesResponseTest.php +++ b/tests/automated/workflow/engine/classes/classwsGetCaseNotesResponseTest.php @@ -26,7 +26,7 @@ class classwsGetCaseNotesResponseTest extends PHPUnit_Framework_TestCase */ protected function setUp() { - $this->object = new wsGetCaseNotesResponse(); + $this->object = new wsGetCaseNotesResponse(0, 'message', array()); } /** @@ -38,12 +38,13 @@ class classwsGetCaseNotesResponseTest 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('wsGetCaseNotesResponse'); $this->assertTrue( count($methods) == 1); + $methods = get_class_methods('wsGetCaseNotesResponse'); + $this->assertTrue( count($methods) == 1); } /** @@ -65,6 +66,6 @@ class classwsGetCaseNotesResponseTest extends PHPUnit_Framework_TestCase $this->assertTrue( $params[2]->getName() == 'notes'); $this->assertTrue( $params[2]->isArray() == false); $this->assertTrue( $params[2]->isOptional () == false); - } + } +} - }