From a9bb0cc60fe9c42297d1b481f324577be0ada7a7 Mon Sep 17 00:00:00 2001 From: StyleCI Bot Date: Thu, 26 Oct 2023 08:46:21 +0000 Subject: [PATCH] Apply fixes from StyleCI --- tests/Unit/TicketControllerTest.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tests/Unit/TicketControllerTest.php b/tests/Unit/TicketControllerTest.php index eea0d0beb..788d3761c 100644 --- a/tests/Unit/TicketControllerTest.php +++ b/tests/Unit/TicketControllerTest.php @@ -13,12 +13,12 @@ use Tests\TestCase; class TicketControllerTest extends TestCase { use DatabaseTransactions; + /** * A basic unit test example. * * @return void */ - public function test_user_change_the_status() { $str = 'Demopass@1'; @@ -54,7 +54,6 @@ class TicketControllerTest extends TestCase $ticket->dept_id = 1; $ticket->save(); - $ticket_thread = new Ticket_Thread( [ 'ticket_id' => $ticket->id, @@ -88,6 +87,5 @@ class TicketControllerTest extends TestCase $response->assertStatus(302); // Adjust this as needed $this->assertEquals(3, $ticket->fresh()->status); // Adjust this as needed $response->assertSessionHas('success', Lang::get('lang.tickets_have_been_closed')); - } }