From 6c1ba957810465145fc763a7313b50822974cb55 Mon Sep 17 00:00:00 2001 From: Yassine Guedidi Date: Sat, 24 Feb 2024 03:31:19 +0100 Subject: [PATCH] Use lighter PDF file in Pinboard tests --- tests/Controller/Import/PinboardControllerTest.php | 2 +- tests/fixtures/Import/pinboard_export | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/Controller/Import/PinboardControllerTest.php b/tests/Controller/Import/PinboardControllerTest.php index 0b8bc2ffc..9bc6efc33 100644 --- a/tests/Controller/Import/PinboardControllerTest.php +++ b/tests/Controller/Import/PinboardControllerTest.php @@ -162,7 +162,7 @@ class PinboardControllerTest extends WallabagCoreTestCase ->get(EntityManagerInterface::class) ->getRepository(Entry::class) ->findByUrlAndUserId( - 'https://ilia.ws/files/nginx_torontophpug.pdf', + 'https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf', $this->getLoggedInUserId() ); diff --git a/tests/fixtures/Import/pinboard_export b/tests/fixtures/Import/pinboard_export index 86cab5062..72d0281b4 100644 --- a/tests/fixtures/Import/pinboard_export +++ b/tests/fixtures/Import/pinboard_export @@ -22,14 +22,14 @@ "tags": "varnish PHP" }, { - "href": "https://ilia.ws/files/nginx_torontophpug.pdf", - "description": "Nginx Tricks for PHP Developers", + "href": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf", + "description": "Dummy PDF file", "extended": "", "meta": "9adbb5c4ca6760e335b920800d88c70a", "hash": "0189bb08f8bd0122c6544bed4624c546", "time": "2016-10-05T07:11:27Z", "shared": "yes", "toread": "no", - "tags": "nginx PHP best_practice" + "tags": "dummy PDF file" } ]