From fbccae8a79ae22273a40c346b731cfbe417965fc Mon Sep 17 00:00:00 2001 From: Michael Date: Sat, 10 Dec 2022 11:52:18 -0600 Subject: [PATCH] fix: update remove tag test to accept root relative urls --- tests/Wallabag/CoreBundle/Controller/TagControllerTest.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/Wallabag/CoreBundle/Controller/TagControllerTest.php b/tests/Wallabag/CoreBundle/Controller/TagControllerTest.php index 538df700d..33de69f57 100644 --- a/tests/Wallabag/CoreBundle/Controller/TagControllerTest.php +++ b/tests/Wallabag/CoreBundle/Controller/TagControllerTest.php @@ -124,7 +124,7 @@ class TagControllerTest extends WallabagCoreTestCase // We make a first request to set an history and test redirection after tag deletion $client->request('GET', '/view/' . $entry->getId()); - $entryUri = $client->getRequest()->getUri(); + $entryUri = $client->getRequest()->getRequestUri(); $client->request('GET', '/remove-tag/' . $entry->getId() . '/' . $tag->getId()); $this->assertSame(302, $client->getResponse()->getStatusCode());