mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-10 04:24:14 +09:00
Update legacy test to reflect WAP removal and DB->isConnected() deprecation
This commit is contained in:
parent
959503b6ec
commit
31f2d54f1a
1 changed files with 1 additions and 2 deletions
|
|
@ -16,13 +16,12 @@ class LegacyTest extends \Codeception\TestCase\Test
|
||||||
$this->assertTrue(getView('board') instanceof BoardView);
|
$this->assertTrue(getView('board') instanceof BoardView);
|
||||||
$this->assertTrue(getAPI('board') instanceof BoardApi);
|
$this->assertTrue(getAPI('board') instanceof BoardApi);
|
||||||
$this->assertTrue(getMobile('board') instanceof BoardMobile);
|
$this->assertTrue(getMobile('board') instanceof BoardMobile);
|
||||||
$this->assertTrue(getWAP('board') instanceof BoardWap);
|
|
||||||
$this->assertTrue(getClass('board') instanceof Board);
|
$this->assertTrue(getClass('board') instanceof Board);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function testGetNextSequence()
|
public function testGetNextSequence()
|
||||||
{
|
{
|
||||||
if (!DB::getInstance()->isConnected())
|
if (!DB::getInstance()->getHandle())
|
||||||
{
|
{
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue