Skip to content

Commit

Permalink
Merge pull request #8265 from ladybirdweb/analysis-e01aQ4
Browse files Browse the repository at this point in the history
Apply fixes from StyleCI
  • Loading branch information
bhanu2217 authored Oct 26, 2023
2 parents 837caf8 + a9bb0cc commit 7408c05
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/Unit/TicketControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
class TicketControllerTest extends TestCase
{
use DatabaseTransactions;

/**
* A basic unit test example.
*
* @return void
*/

public function test_user_change_the_status()
{
$str = 'Demopass@1';
Expand Down Expand Up @@ -54,7 +54,6 @@ public function test_user_change_the_status()
$ticket->dept_id = 1;
$ticket->save();


$ticket_thread = new Ticket_Thread(
[
'ticket_id' => $ticket->id,
Expand Down Expand Up @@ -88,6 +87,5 @@ public function test_user_change_the_status()
$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'));

}
}

0 comments on commit 7408c05

Please sign in to comment.