aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/Wallabag/ImportBundle
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2018-01-12 23:10:21 +0100
committerGitHub <noreply@github.com>2018-01-12 23:10:21 +0100
commitfd637b9a5af28d432f775297ff19ba3f779d55b2 (patch)
treedc8fc13c8b09019cf0b5ac00f05a0f4a9656e5d0 /tests/Wallabag/ImportBundle
parent99e8c2785b9fc0cd9cc8674cb297a13a1035238f (diff)
parent5614df19cf3ed2be9d56853e5441412d4d09cff4 (diff)
downloadwallabag-fd637b9a5af28d432f775297ff19ba3f779d55b2.tar.gz
wallabag-fd637b9a5af28d432f775297ff19ba3f779d55b2.tar.zst
wallabag-fd637b9a5af28d432f775297ff19ba3f779d55b2.zip
Merge pull request #3541 from Simounet/feature/nav-label-replaced-by-buttons
Nav actions updated
Diffstat (limited to 'tests/Wallabag/ImportBundle')
-rw-r--r--tests/Wallabag/ImportBundle/Controller/PocketControllerTest.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/Wallabag/ImportBundle/Controller/PocketControllerTest.php b/tests/Wallabag/ImportBundle/Controller/PocketControllerTest.php
index 17ce1a2a..01dd2451 100644
--- a/tests/Wallabag/ImportBundle/Controller/PocketControllerTest.php
+++ b/tests/Wallabag/ImportBundle/Controller/PocketControllerTest.php
@@ -14,7 +14,7 @@ class PocketControllerTest extends WallabagCoreTestCase
14 $crawler = $client->request('GET', '/import/pocket'); 14 $crawler = $client->request('GET', '/import/pocket');
15 15
16 $this->assertSame(200, $client->getResponse()->getStatusCode()); 16 $this->assertSame(200, $client->getResponse()->getStatusCode());
17 $this->assertSame(1, $crawler->filter('button[type=submit]')->count()); 17 $this->assertSame(1, $crawler->filter('button[name=action]')->count());
18 } 18 }
19 19
20 public function testImportPocketWithRabbitEnabled() 20 public function testImportPocketWithRabbitEnabled()
@@ -27,7 +27,7 @@ class PocketControllerTest extends WallabagCoreTestCase
27 $crawler = $client->request('GET', '/import/pocket'); 27 $crawler = $client->request('GET', '/import/pocket');
28 28
29 $this->assertSame(200, $client->getResponse()->getStatusCode()); 29 $this->assertSame(200, $client->getResponse()->getStatusCode());
30 $this->assertSame(1, $crawler->filter('button[type=submit]')->count()); 30 $this->assertSame(1, $crawler->filter('button[name=action]')->count());
31 31
32 $client->getContainer()->get('craue_config')->set('import_with_rabbitmq', 0); 32 $client->getContainer()->get('craue_config')->set('import_with_rabbitmq', 0);
33 } 33 }
@@ -43,7 +43,7 @@ class PocketControllerTest extends WallabagCoreTestCase
43 $crawler = $client->request('GET', '/import/pocket'); 43 $crawler = $client->request('GET', '/import/pocket');
44 44
45 $this->assertSame(200, $client->getResponse()->getStatusCode()); 45 $this->assertSame(200, $client->getResponse()->getStatusCode());
46 $this->assertSame(1, $crawler->filter('button[type=submit]')->count()); 46 $this->assertSame(1, $crawler->filter('button[name=action]')->count());
47 47
48 $client->getContainer()->get('craue_config')->set('import_with_redis', 0); 48 $client->getContainer()->get('craue_config')->set('import_with_redis', 0);
49 } 49 }