chore: remove unnecessary blank line in DispatcherTest.php
All checks were successful
🧪✨ Tests Workflow / 🛡️ 🔒 Library Audit (push) Successful in 2m32s
🧪✨ Tests Workflow / 🛡️ 🔒 License Check (push) Successful in 2m35s
🧪✨ Tests Workflow / 📝 ✨ Code Lint (push) Successful in 2m32s
🧪✨ Tests Workflow / 🐙 🔍 Code Sniffer (push) Successful in 2m49s
🧪✨ Tests Workflow / 🧪 ✅ Unit Tests (push) Successful in 2m20s
🧪✨ Tests Workflow / 🧪 ✨ Database Migrations (push) Successful in 1m51s

This commit is contained in:
2025-11-30 15:09:10 -05:00
parent e69e3adebc
commit ae96b0444c

View File

@@ -9,7 +9,6 @@ use Siteworxpro\Tests\Unit;
class DispatcherTest extends Unit
{
/**
* @throws \Throwable
* @throws BindingResolutionException
@@ -73,6 +72,9 @@ class DispatcherTest extends Unit
$this->assertTrue($eventFired, 'The FlushEvent listener was not fired.');
}
/**
* @throws BindingResolutionException
*/
public function testHasListeners(): void
{
$dispatcher = $this->getContainer()->make('Siteworxpro\App\Events\Dispatcher');
@@ -137,6 +139,9 @@ class DispatcherTest extends Unit
unset($dispatcher); // Trigger destructor
}
/**
* @throws BindingResolutionException
*/
public function testToArray(): void
{
$dispatcher = $this->getContainer()->make('Siteworxpro\App\Events\Dispatcher');