Modified tests Mongo, Mysqli, Redis with checking work Profiler (with PROFILER_DETAILS).

This commit is contained in:
Alexander Demidov
2012-07-10 17:03:55 +04:00
parent 4e0b762ab0
commit e59e270476
3 changed files with 38 additions and 22 deletions

View File

@ -211,6 +211,7 @@ class MySQLiStatementTest extends PHPUnit_Framework_TestCase
$this->setDriverGetConnectionMethod();
$this->stmt->execute(array('place' => 'place_val', 'new' => 'new_val'));
$this->assertSame('OBJECT', $this->stmt->fetch());
$this->assertContains('Queries: 1', Profiler::getInstance()->getCli());
}
/**