Use lighter PDF file in Pinboard tests

This commit is contained in:
Yassine Guedidi 2024-02-24 03:31:19 +01:00
parent cd6f7b5e92
commit 6c1ba95781
2 changed files with 4 additions and 4 deletions

View file

@ -162,7 +162,7 @@ class PinboardControllerTest extends WallabagCoreTestCase
->get(EntityManagerInterface::class) ->get(EntityManagerInterface::class)
->getRepository(Entry::class) ->getRepository(Entry::class)
->findByUrlAndUserId( ->findByUrlAndUserId(
'https://ilia.ws/files/nginx_torontophpug.pdf', 'https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf',
$this->getLoggedInUserId() $this->getLoggedInUserId()
); );

View file

@ -22,14 +22,14 @@
"tags": "varnish PHP" "tags": "varnish PHP"
}, },
{ {
"href": "https://ilia.ws/files/nginx_torontophpug.pdf", "href": "https://www.w3.org/WAI/ER/tests/xhtml/testfiles/resources/pdf/dummy.pdf",
"description": "Nginx Tricks for PHP Developers", "description": "Dummy PDF file",
"extended": "", "extended": "",
"meta": "9adbb5c4ca6760e335b920800d88c70a", "meta": "9adbb5c4ca6760e335b920800d88c70a",
"hash": "0189bb08f8bd0122c6544bed4624c546", "hash": "0189bb08f8bd0122c6544bed4624c546",
"time": "2016-10-05T07:11:27Z", "time": "2016-10-05T07:11:27Z",
"shared": "yes", "shared": "yes",
"toread": "no", "toread": "no",
"tags": "nginx PHP best_practice" "tags": "dummy PDF file"
} }
] ]