mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 07:12:15 +09:00
Fix DB connection during unit tests on HHVM
This commit is contained in:
parent
0bbe4ac07f
commit
456ec87447
1 changed files with 1 additions and 1 deletions
|
|
@ -22,7 +22,7 @@ class LegacyTest extends \Codeception\TestCase\Test
|
|||
|
||||
public function testGetNextSequence()
|
||||
{
|
||||
if (!file_exists(\RX_BASEDIR . 'files/config/config.php'))
|
||||
if (!DB::getInstance()->isConnected())
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue