X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2FWallabag%2FImportBundle%2FController%2FPocketControllerTest.php;h=01dd2451f7ac31d7a1a8e63fba06c18aeff45dda;hb=5614df19cf3ed2be9d56853e5441412d4d09cff4;hp=17ce1a2adbf7941b4f7097288eba9fe809578827;hpb=91f5992423bb69d518f9f4ed17cab36a765fcd13;p=github%2Fwallabag%2Fwallabag.git 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 $crawler = $client->request('GET', '/import/pocket'); $this->assertSame(200, $client->getResponse()->getStatusCode()); - $this->assertSame(1, $crawler->filter('button[type=submit]')->count()); + $this->assertSame(1, $crawler->filter('button[name=action]')->count()); } public function testImportPocketWithRabbitEnabled() @@ -27,7 +27,7 @@ class PocketControllerTest extends WallabagCoreTestCase $crawler = $client->request('GET', '/import/pocket'); $this->assertSame(200, $client->getResponse()->getStatusCode()); - $this->assertSame(1, $crawler->filter('button[type=submit]')->count()); + $this->assertSame(1, $crawler->filter('button[name=action]')->count()); $client->getContainer()->get('craue_config')->set('import_with_rabbitmq', 0); } @@ -43,7 +43,7 @@ class PocketControllerTest extends WallabagCoreTestCase $crawler = $client->request('GET', '/import/pocket'); $this->assertSame(200, $client->getResponse()->getStatusCode()); - $this->assertSame(1, $crawler->filter('button[type=submit]')->count()); + $this->assertSame(1, $crawler->filter('button[name=action]')->count()); $client->getContainer()->get('craue_config')->set('import_with_redis', 0); }