Browse Source

little changes

master
Anton Grebnev 13 years ago
parent
commit
3659cca99e
  1. 1
      tests/ConfigTest.php
  2. 1
      tests/util/profiler/ProfilerTest.php

1
tests/ConfigTest.php

@ -22,6 +22,7 @@ class ConfigTest extends PHPUnit_Framework_TestCase
{ {
$this->_instance = Config::getInstance(); $this->_instance = Config::getInstance();
} }
public function testGetInstance() public function testGetInstance()
{ {
$this->assertSame($this->_instance, Config::getInstance()); $this->assertSame($this->_instance, Config::getInstance());

1
tests/util/profiler/ProfilerTest.php

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

Loading…
Cancel
Save