1
0
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:
camer0n 2025-04-13 08:05:48 -07:00
parent 07dd73c00e
commit 49716ab3e0
2 changed files with 3 additions and 3 deletions

View File

@ -7,4 +7,4 @@ modules:
enabled:
- Asserts
- \Helper\Unit
error_level: "E_ALL & ~E_USER_WARNING"

View File

@ -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)
{