better coverage

This commit is contained in:
Anton Grebnev
2011-10-06 19:19:40 +04:00
parent 588ef93bb3
commit 3c3071fb15
4 changed files with 6 additions and 3 deletions

View File

@ -82,7 +82,7 @@ class LoadTest extends PHPUnit_Framework_TestCase
public function testAutoloadGetFilePath()
{
$autoload = require(self::$file);
$this->assertNotEmpty($autoload['Registry']);
$this->assertNotEmpty(Load::getFilePath('Registry'));
}
/**
@ -92,7 +92,7 @@ class LoadTest extends PHPUnit_Framework_TestCase
public function testAutoloadGetFilePathNullIndex()
{
$autoload = require(self::$file);
$this->assertNotEmpty($autoload['anton']);
$this->assertNotEmpty(Load::getFilePath('anton'));
}
public static function tearDownAfterClass()