You've already forked Php-Template
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
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:
@@ -9,7 +9,6 @@ use Siteworxpro\Tests\Unit;
|
|||||||
|
|
||||||
class DispatcherTest extends Unit
|
class DispatcherTest extends Unit
|
||||||
{
|
{
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @throws \Throwable
|
* @throws \Throwable
|
||||||
* @throws BindingResolutionException
|
* @throws BindingResolutionException
|
||||||
@@ -73,6 +72,9 @@ class DispatcherTest extends Unit
|
|||||||
$this->assertTrue($eventFired, 'The FlushEvent listener was not fired.');
|
$this->assertTrue($eventFired, 'The FlushEvent listener was not fired.');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @throws BindingResolutionException
|
||||||
|
*/
|
||||||
public function testHasListeners(): void
|
public function testHasListeners(): void
|
||||||
{
|
{
|
||||||
$dispatcher = $this->getContainer()->make('Siteworxpro\App\Events\Dispatcher');
|
$dispatcher = $this->getContainer()->make('Siteworxpro\App\Events\Dispatcher');
|
||||||
@@ -137,6 +139,9 @@ class DispatcherTest extends Unit
|
|||||||
unset($dispatcher); // Trigger destructor
|
unset($dispatcher); // Trigger destructor
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @throws BindingResolutionException
|
||||||
|
*/
|
||||||
public function testToArray(): void
|
public function testToArray(): void
|
||||||
{
|
{
|
||||||
$dispatcher = $this->getContainer()->make('Siteworxpro\App\Events\Dispatcher');
|
$dispatcher = $this->getContainer()->make('Siteworxpro\App\Events\Dispatcher');
|
||||||
|
|||||||
Reference in New Issue
Block a user