classwsGetCaseNotesResponseTest.php instance fixed, code standard checked
This commit is contained in:
@@ -26,7 +26,7 @@ class classwsGetCaseNotesResponseTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
protected function setUp()
|
||||
{
|
||||
$this->object = new wsGetCaseNotesResponse();
|
||||
$this->object = new wsGetCaseNotesResponse(0, 'message', array());
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -43,7 +43,8 @@ class classwsGetCaseNotesResponseTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testNumberOfMethodsInThisClass()
|
||||
{
|
||||
$methods = get_class_methods('wsGetCaseNotesResponse'); $this->assertTrue( count($methods) == 1);
|
||||
$methods = get_class_methods('wsGetCaseNotesResponse');
|
||||
$this->assertTrue( count($methods) == 1);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -66,5 +67,5 @@ class classwsGetCaseNotesResponseTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[2]->isArray() == false);
|
||||
$this->assertTrue( $params[2]->isOptional () == false);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user