classPMmemcachedTest.php instance fixed, code standard checked
This commit is contained in:
@@ -26,7 +26,7 @@ class classPMmemcachedTest extends PHPUnit_Framework_TestCase
|
|||||||
*/
|
*/
|
||||||
protected function setUp()
|
protected function setUp()
|
||||||
{
|
{
|
||||||
$this->object = new PMmemcached();
|
$this->object = new PMmemcached('workflow');
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -43,7 +43,8 @@ class classPMmemcachedTest extends PHPUnit_Framework_TestCase
|
|||||||
*/
|
*/
|
||||||
public function testNumberOfMethodsInThisClass()
|
public function testNumberOfMethodsInThisClass()
|
||||||
{
|
{
|
||||||
$methods = get_class_methods('PMmemcached'); $this->assertTrue( count($methods) == 12);
|
$methods = get_class_methods('PMmemcached');
|
||||||
|
$this->assertTrue( count($methods) == 12);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -223,5 +224,5 @@ class classPMmemcachedTest extends PHPUnit_Framework_TestCase
|
|||||||
$r = new ReflectionMethod('PMmemcached', 'printDetails');
|
$r = new ReflectionMethod('PMmemcached', 'printDetails');
|
||||||
$params = $r->getParameters();
|
$params = $r->getParameters();
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
|
||||||
|
|||||||
Reference in New Issue
Block a user