mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-02 01:52:10 +09:00
Fix unit tests
This commit is contained in:
parent
6ab309c8c4
commit
3f604c7f59
1 changed files with 7 additions and 0 deletions
|
|
@ -4,8 +4,15 @@ class ValidatorTest extends \Codeception\TestCase\Test
|
|||
{
|
||||
public function _before()
|
||||
{
|
||||
$ob_level = ob_get_level();
|
||||
|
||||
$oContext = Context::getInstance();
|
||||
$oContext->init();
|
||||
|
||||
while (ob_get_level() > $ob_level)
|
||||
{
|
||||
ob_end_clean();
|
||||
}
|
||||
}
|
||||
|
||||
public function testRequired()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue