From 9252ea55f2af8a1f6950ce86cf3ea00ffde569f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Thu, 14 Nov 2024 15:43:23 +0100 Subject: [PATCH] Improved import page --- templates/Import/index.html.twig | 19 ++++++++++++------- .../Import/ImportControllerTest.php | 3 +-- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/templates/Import/index.html.twig b/templates/Import/index.html.twig index 5816c297b..236a7f887 100644 --- a/templates/Import/index.html.twig +++ b/templates/Import/index.html.twig @@ -15,15 +15,20 @@ {% include 'Import/_information.html.twig' %} {{ 'import.page_description'|trans }} - + diff --git a/tests/Controller/Import/ImportControllerTest.php b/tests/Controller/Import/ImportControllerTest.php index f2cadb421..3fc131c87 100644 --- a/tests/Controller/Import/ImportControllerTest.php +++ b/tests/Controller/Import/ImportControllerTest.php @@ -22,8 +22,7 @@ class ImportControllerTest extends WallabagTestCase $client = $this->getTestClient(); $crawler = $client->request('GET', '/import/'); - $this->assertSame(200, $client->getResponse()->getStatusCode()); - $this->assertSame(12, $crawler->filter('blockquote')->count()); + $this->assertSame(12, $crawler->filter('.card-title')->count()); } }