little changes

This commit is contained in:
Anton Grebnev
2011-10-29 15:39:19 +04:00
parent e80e65f137
commit 3659cca99e
2 changed files with 14 additions and 14 deletions

View File

@ -22,6 +22,7 @@ class ConfigTest extends PHPUnit_Framework_TestCase
{
$this->_instance = Config::getInstance();
}
public function testGetInstance()
{
$this->assertSame($this->_instance, Config::getInstance());
@ -39,11 +40,11 @@ class ConfigTest extends PHPUnit_Framework_TestCase
public function testArrayAsParam()
{
$arr = array(
'one' => 1,
'two' => 2,
'three' => 3,
4 => 'four'
);
'one' => 1,
'two' => 2,
'three' => 3,
4 => 'four'
);
Config::set(0, $arr);
$new_arr = Config::get(0);

View File

@ -139,7 +139,6 @@ class ProfilerTest extends PHPUnit_Framework_TestCase
$profiler = Profiler::getInstance();
$cmdProfiler = $profiler->profilerCommand('command', 'type');
$result = $profiler->getCli();
echo $result;
$this->assertNotNull($result);
}