Update legacy test to reflect WAP removal and DB->isConnected() deprecation

This commit is contained in:
Kijin Sung 2023-06-19 15:34:40 +09:00
parent 959503b6ec
commit 31f2d54f1a

View file

@ -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;
} }