Skip to content

Commit

Permalink
refactor test ticket testSearchOptions
Browse files Browse the repository at this point in the history
  • Loading branch information
MyvTsv committed Nov 22, 2024
1 parent 03535e2 commit 4926f5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion phpunit/functional/TicketTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -647,7 +647,7 @@ public function testSearchOptions()
$this->assertSame(1, $data['data']['totalcount']);
$ticket_with_so = $data['data']['rows'][0]['raw'];
$this->assertEquals($ticket_id, $ticket_with_so['id']);
$this->assertTrue(array_key_exists('ITEM_Ticket_139', $ticket_with_so), "Erreur : La clé 'ITEM_Ticket_139' n'existe pas dans le tableau. Clés disponibles : " . implode(', ', array_keys($ticket_with_so)));
$this->assertTrue(array_key_exists('ITEM_Ticket_139', $ticket_with_so));
$this->assertEquals($last_followup_date, $ticket_with_so['ITEM_Ticket_139']);
$this->assertTrue(array_key_exists('ITEM_Ticket_140', $ticket_with_so));
$this->assertEquals($last_solution_date, $ticket_with_so['ITEM_Ticket_140']);
Expand Down

0 comments on commit 4926f5a

Please sign in to comment.