X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tests%2FWallabag%2FImportBundle%2FController%2FPocketControllerTest.php;h=01dd2451f7ac31d7a1a8e63fba06c18aeff45dda;hb=feb239ea1006685ab3862c988309a1a5a9659559;hp=17ce1a2adbf7941b4f7097288eba9fe809578827;hpb=1953a872932a63792293b4aec087880265ba89f7;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); }