Skip to content

Commit

Permalink
Feat: upgrade
Browse files Browse the repository at this point in the history
  • Loading branch information
elodie-bil3 committed Sep 5, 2023
1 parent d8e464d commit 126d358
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Controller/ReportController.php
Original file line number Diff line number Diff line change
Expand Up @@ -768,7 +768,7 @@ private function loopThroughSuite(int $executionId, stdClass $suite, ?int $paren
if (isset($test->context)) {
try {
$identifier_data = json_decode($test->context);
$identifier = is_array($identifier_data) ? $identifier_data[0]->value : $identifier_data->value;
$identifier = $identifier_data->value;
} catch (Exception $e) {
// Don't care if it fails
}
Expand Down

0 comments on commit 126d358

Please # to comment.