diff --git a/app/Listeners/Ticket/Submitted/Email.php b/app/Listeners/Ticket/Submitted/Email.php index c4b1c77d..1020fb33 100644 --- a/app/Listeners/Ticket/Submitted/Email.php +++ b/app/Listeners/Ticket/Submitted/Email.php @@ -10,7 +10,6 @@ class Email { - /** * Create the event listener. * @@ -18,7 +17,6 @@ class Email */ public function __construct() { - } /** diff --git a/tests/Unit/TicketTest.php b/tests/Unit/TicketTest.php index 11240f02..b44f689f 100644 --- a/tests/Unit/TicketTest.php +++ b/tests/Unit/TicketTest.php @@ -12,11 +12,11 @@ class TicketTest extends TestCase use RefreshDatabase; /** @test */ - function a_ticket_has_a_user() { + public function a_ticket_has_a_user() + { $user = User::factory()->create(); $ticket = Ticket::factory()->create(['user_id' => $user->id]); $this->assertEquals($ticket->user->id, $user->id); } - }