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

@ -1,4 +1,4 @@
<?php
<?php
/*
* @copyright NetMonsters <team@netmonsters.ru>
@ -107,7 +107,8 @@ class RedisManagerTest extends PHPUnit_Framework_TestCase
*/
public function testConnectWithDebug()
{
Config::set('DEBUG', true);
Config::set('PROFILER', true);
Config::set('PROFILER_DETAILS', true);
$this->getMock('RedisDebug');
Config::set('Redis', array('new' => array('host' => true, 'port' => 2023, 'database' => true)));