From 032d48ad7b180c80344a8fe64b2f9bfc81cef7b1 Mon Sep 17 00:00:00 2001 From: nextcloud486153 <78801830+nextcloud486153@users.noreply.github.com> Date: Mon, 18 Apr 2022 11:59:02 +0200 Subject: Fix malformed feeds (without GUIDs) stopping the update process (fixes #1738) Signed-off-by: nextcloud486153 <78801830+nextcloud486153@users.noreply.github.com> --- tests/Unit/Fetcher/FeedFetcherTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/Unit/Fetcher/FeedFetcherTest.php') diff --git a/tests/Unit/Fetcher/FeedFetcherTest.php b/tests/Unit/Fetcher/FeedFetcherTest.php index 32b03d3e4..42f518453 100644 --- a/tests/Unit/Fetcher/FeedFetcherTest.php +++ b/tests/Unit/Fetcher/FeedFetcherTest.php @@ -579,7 +579,7 @@ class FeedFetcherTest extends TestCase $this->item_mock->expects($this->exactly(2)) ->method('getTitle') ->will($this->returnValue($this->title)); - $this->item_mock->expects($this->exactly(1)) + $this->item_mock->expects($this->exactly(2)) ->method('getPublicId') ->will($this->returnValue($this->guid)); $this->item_mock->expects($this->exactly(1)) -- cgit v1.2.3