Add association @group from exceptions mysql of the tests
This commit is contained in:
@ -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');
|
||||
|
Reference in New Issue
Block a user