summaryrefslogtreecommitdiffstats
path: root/tests/Unit/Fetcher/FeedFetcherTest.php
diff options
context:
space:
mode:
authornextcloud486153 <78801830+nextcloud486153@users.noreply.github.com>2022-04-18 11:59:02 +0200
committerBenjamin Brahmer <info@b-brahmer.de>2022-04-18 13:16:01 +0200
commit032d48ad7b180c80344a8fe64b2f9bfc81cef7b1 (patch)
treed8b7232194262b5b0fe1f326e99621aa1e36ec33 /tests/Unit/Fetcher/FeedFetcherTest.php
parent78c723f38acc16ac78ba6425ca0acfb2d432baf7 (diff)
Fix malformed feeds (without GUIDs) stopping the update process (fixes #1738)
Signed-off-by: nextcloud486153 <78801830+nextcloud486153@users.noreply.github.com>
Diffstat (limited to 'tests/Unit/Fetcher/FeedFetcherTest.php')
-rw-r--r--tests/Unit/Fetcher/FeedFetcherTest.php2
1 files changed, 1 insertions, 1 deletions
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))