BUG 0000 Adjustment in te class classwsCreateUserResponseTest
- phpunit and phpcs tested in the class classwsCreateUserResponseTest
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
<?php
|
||||
|
||||
require_once PATH_TRUNK . 'gulliver/thirdparty/smarty/libs/Smarty.class.php';
|
||||
require_once PATH_TRUNK . 'gulliver/system/class.xmlform.php';
|
||||
require_once PATH_TRUNK . 'gulliver/system/class.xmlDocument.php';
|
||||
@@ -12,9 +13,9 @@ require_once PATH_TRUNK . 'workflow/engine/classes/class.wsResponse.php';
|
||||
/**
|
||||
* Generated by ProcessMaker Test Unit Generator on 2012-07-12 at 22:32:31.
|
||||
*/
|
||||
|
||||
class classwsCreateUserResponseTest extends PHPUnit_Framework_TestCase
|
||||
{
|
||||
|
||||
/**
|
||||
* @var wsCreateUserResponse
|
||||
*/
|
||||
@@ -26,7 +27,7 @@ class classwsCreateUserResponseTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
protected function setUp()
|
||||
{
|
||||
$this->object = new wsCreateUserResponse();
|
||||
$this->object = new wsCreateUserResponse('status', 'message', 'groupUID');
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -35,6 +36,7 @@ class classwsCreateUserResponseTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
protected function tearDown()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -43,7 +45,8 @@ class classwsCreateUserResponseTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testNumberOfMethodsInThisClass()
|
||||
{
|
||||
$methods = get_class_methods('wsCreateUserResponse'); $this->assertTrue( count($methods) == 1);
|
||||
$methods = get_class_methods('wsCreateUserResponse');
|
||||
$this->assertTrue(count($methods) == 1);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -66,5 +69,5 @@ class classwsCreateUserResponseTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue($params[2]->isArray() == false);
|
||||
$this->assertTrue($params[2]->isOptional() == false);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user