diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2018-01-12 10:37:13 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2018-01-12 11:19:11 +0100 |
commit | 5614df19cf3ed2be9d56853e5441412d4d09cff4 (patch) | |
tree | dc8fc13c8b09019cf0b5ac00f05a0f4a9656e5d0 /tests/Wallabag/ImportBundle | |
parent | 91f5992423bb69d518f9f4ed17cab36a765fcd13 (diff) | |
download | wallabag-5614df19cf3ed2be9d56853e5441412d4d09cff4.tar.gz wallabag-5614df19cf3ed2be9d56853e5441412d4d09cff4.tar.zst wallabag-5614df19cf3ed2be9d56853e5441412d4d09cff4.zip |
Fixed tests
Diffstat (limited to 'tests/Wallabag/ImportBundle')
-rw-r--r-- | tests/Wallabag/ImportBundle/Controller/PocketControllerTest.php | 6 |
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 | } |