Add association @group from exceptions mysql of the tests

This commit is contained in:
Vyacheslav Agafonov
2011-12-05 13:34:49 +04:00
parent 1a1ccabcd3
commit 24c2a97f51
3 changed files with 44 additions and 7 deletions

View File

@ -30,6 +30,9 @@ class DbTest extends PHPUnit_Framework_TestCase
Db::connect('name', 'config');
}
/**
* @group MySQL
*/
public function testConnectGlobalConfig()
{
$conf = array('hostname' => 'localhost', 'driver' => 'MySQLiDriverGlobalConfMock', 'database' => 'db', 'username' => 'test', 'password' => '1234');
@ -39,6 +42,9 @@ class DbTest extends PHPUnit_Framework_TestCase
$this->assertInstanceOf('DbDriver', $driver);
}
/**
* @group MySQL
*/
public function testConnectWithConfigParam()
{
$conf = array('hostname' => 'localhost', 'driver' => 'MySQLiDriverMock', 'database' => 'db', 'username' => 'test', 'password' => '1234');