chore: add log level configuration and enhance logger tests
All checks were successful
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 3m0s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 2m55s
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 3m9s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 3m0s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 3m13s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 2m37s

This commit is contained in:
2025-11-16 11:37:48 -05:00
parent 0d8d6fad4f
commit 5a91c35269
3 changed files with 3 additions and 32 deletions

View File

@@ -5,6 +5,7 @@ declare(strict_types=1);
namespace Siteworxpro\Tests;
use Illuminate\Container\Container;
use Mockery;
use PHPUnit\Framework\TestCase;
use Siteworx\Config\Config as SWConfig;
use Siteworxpro\App\Services\Facade;
@@ -29,5 +30,6 @@ abstract class Unit extends TestCase
{
Config::clearResolvedInstances();
Facade::setFacadeContainer(null);
Mockery::close();
}
}