mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 21:21:54 +02:00
Unit test fix different approach.
This commit is contained in:
parent
07dd73c00e
commit
49716ab3e0
@ -7,4 +7,4 @@ modules:
|
||||
enabled:
|
||||
- Asserts
|
||||
- \Helper\Unit
|
||||
error_level: "E_ALL & ~E_USER_WARNING"
|
||||
|
||||
|
@ -18,7 +18,7 @@ class e107Test extends \Codeception\Test\Unit
|
||||
|
||||
protected function _before()
|
||||
{
|
||||
|
||||
error_reporting(E_ALL & ~E_USER_WARNING);
|
||||
try
|
||||
{
|
||||
$this->e107 = e107::getInstance();
|
||||
@ -32,7 +32,7 @@ class e107Test extends \Codeception\Test\Unit
|
||||
|
||||
protected function _after()
|
||||
{
|
||||
|
||||
error_reporting(E_ALL);
|
||||
// Clean up temporary files
|
||||
foreach($this->tempFiles as $file)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user