mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-26 22:59:57 +09:00
Don't hide E_WARNING in unit tests
This commit is contained in:
parent
f8ca668982
commit
afbbc965ab
3 changed files with 4 additions and 3 deletions
|
|
@ -27,7 +27,8 @@ class ContextTest extends \Codeception\TestCase\Test
|
|||
public function testSetGetVars()
|
||||
{
|
||||
$this->assertEquals(Context::get('var1'), null);
|
||||
context::set('var1', 'val1');
|
||||
Context::getInstance()->context = new stdClass;
|
||||
Context::set('var1', 'val1');
|
||||
$this->assertEquals(Context::get('var1'), 'val1');
|
||||
|
||||
Context::set('var2', 'val2');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue