From 12788cc3c537714b19f2710da50adb65e37eda90 Mon Sep 17 00:00:00 2001 From: provokateurin Date: Wed, 7 Aug 2024 16:34:21 +0200 Subject: [PATCH] test(nextcloud): Fix news fixture not allowing varying hosts Signed-off-by: provokateurin --- .../news/items/mark_multiple_articles_as_read_and_unread.regexp | 2 +- .../news/items/star_and_unstar_multiple_articles.regexp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/nextcloud/test/fixtures/news/items/mark_multiple_articles_as_read_and_unread.regexp b/packages/nextcloud/test/fixtures/news/items/mark_multiple_articles_as_read_and_unread.regexp index d588c4abad3..581c42625d2 100644 --- a/packages/nextcloud/test/fixtures/news/items/mark_multiple_articles_as_read_and_unread.regexp +++ b/packages/nextcloud/test/fixtures/news/items/mark_multiple_articles_as_read_and_unread.regexp @@ -1,4 +1,4 @@ -POST http://localhost/index\.php/apps/news/api/v1-3/feeds\?url=http%3A%2F%2Flocalhost%2Fstatic%2Fwikipedia\.xml +POST http://localhost/index\.php/apps/news/api/v1-3/feeds\?url=http%3A%2F%2F.*%2Fstatic%2Fwikipedia\.xml accept: application/json authorization: Basic mock GET http://localhost/index\.php/apps/news/api/v1-3/items\?type=6&id=0&getRead=1&batchSize=-1&offset=0&oldestFirst=0 diff --git a/packages/nextcloud/test/fixtures/news/items/star_and_unstar_multiple_articles.regexp b/packages/nextcloud/test/fixtures/news/items/star_and_unstar_multiple_articles.regexp index 05f20f1a3f0..332d2f0cc53 100644 --- a/packages/nextcloud/test/fixtures/news/items/star_and_unstar_multiple_articles.regexp +++ b/packages/nextcloud/test/fixtures/news/items/star_and_unstar_multiple_articles.regexp @@ -1,4 +1,4 @@ -POST http://localhost/index\.php/apps/news/api/v1-3/feeds\?url=http%3A%2F%2Flocalhost%2Fstatic%2Fwikipedia\.xml +POST http://localhost/index\.php/apps/news/api/v1-3/feeds\?url=http%3A%2F%2F.*%2Fstatic%2Fwikipedia\.xml accept: application/json authorization: Basic mock GET http://localhost/index\.php/apps/news/api/v1-3/items\?type=3&id=0&getRead=1&batchSize=-1&offset=0&oldestFirst=0