mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-24 12:52:19 +09:00
Update unit tests for latest codeception
This commit is contained in:
parent
0db02281c9
commit
f46b41f437
12 changed files with 331 additions and 295 deletions
|
|
@ -41,7 +41,7 @@ class DebugTest extends \Codeception\TestCase\Test
|
|||
$errors = Rhymix\Framework\Debug::getErrors();
|
||||
$this->assertGreaterThanOrEqual(1, count($errors));
|
||||
$error = array_pop($errors);
|
||||
$this->assertContains('Rhymix', $error->message);
|
||||
$this->assertStringContainsString('Rhymix', $error->message);
|
||||
$this->assertEquals($file, $error->file);
|
||||
$this->assertEquals($line, $error->line);
|
||||
Rhymix\Framework\Debug::clearErrors();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue