BUG 0000 "PHPUNIT instantiation classFileCacheTest.php" SOLVED
- Instantiation of the class - Formatting file to PSR2
This commit is contained in:
@@ -26,7 +26,7 @@ class classFileCacheTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
protected function setUp()
|
||||
{
|
||||
$this->object = new FileCache();
|
||||
$this->object = new FileCache(null);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -43,7 +43,8 @@ class classFileCacheTest extends PHPUnit_Framework_TestCase
|
||||
*/
|
||||
public function testNumberOfMethodsInThisClass()
|
||||
{
|
||||
$methods = get_class_methods('FileCache'); $this->assertTrue( count($methods) == 4);
|
||||
$methods = get_class_methods('FileCache');
|
||||
$this->assertTrue(count($methods) == 4);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -112,5 +113,5 @@ class classFileCacheTest extends PHPUnit_Framework_TestCase
|
||||
$this->assertTrue( $params[0]->isArray() == false);
|
||||
$this->assertTrue( $params[0]->isOptional () == false);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user