Skip to content

Commit

Permalink
fix(tests): Use correct args for NotificationsClientTest list from
Browse files Browse the repository at this point in the history
…test
  • Loading branch information
Invincibear authored Jan 31, 2024
1 parent 3631f94 commit 0a416ab
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -124,9 +124,9 @@ public static function listOperationsProvider(): \Generator
];

yield 'From Filtered' => [
new ListNotifications(to: new \DateTime('2023-12-25T00:00:00.000Z')),
new ListNotifications(from: new \DateTime('2023-12-24T00:00:00.000Z')),
new Response(200, body: self::readRawJsonFixture('response/list_default')),
sprintf('%s/notifications?to=2023-12-25T00:00:00.000000Z', Environment::SANDBOX->baseUrl()),
sprintf('%s/notifications?from=2023-12-24T00:00:00.000000Z', Environment::SANDBOX->baseUrl()),
];

yield 'To and From Filtered' => [
Expand Down

0 comments on commit 0a416ab

Please sign in to comment.