Skip to content

Commit b810297

Browse files
committed
Fix failing tests
1 parent 0f45b0a commit b810297

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

tests/FeedIo/Reader/ResultMockFactory.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,6 @@ public function makeWithFeed(Feed $feed): Result
2828
/** @var ResponseInterface $response */
2929
$response = new NullResponse();
3030

31-
return new Result($document, $feed, new \DateTime('@0'), $response, 'http://localhost/test.rss');
31+
return new Result($document, $feed, $response, 'http://localhost/test.rss', new \DateTime('@0'));
3232
}
3333
}

tests/FeedIo/Reader/ResultTest.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ protected function setUp(): void
3535
$this->object = new Result(
3636
new Document('<feed></feed>'),
3737
new Feed(),
38-
$this->modifiedSince,
3938
$response,
40-
'http://localhost'
39+
'http://localhost',
40+
$this->modifiedSince
4141
);
4242
}
4343

0 commit comments

Comments
 (0)