Skip to content

Commit

Permalink
Fixed Unit Tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Progi1984 committed Jan 29, 2025
1 parent fb40dd0 commit 3334866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/Controller/ReportControllerTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public static function setUpBeforeClass(): void
{
$data = file_get_contents('https://api-nightly.prestashop-project.org/reports?filter_version=develop&filter_campaign=functional');
$data = json_decode($data, true);
foreach ($data as $datum) {
foreach ($data['reports'] as $datum) {
if ($datum['date'] === self::DATE_RESOURCE) {
self::$reportId = $datum['id'];
break;
Expand Down

0 comments on commit 3334866

Please sign in to comment.