From 680cc806f285b068c0452a083977fb3313e978dc Mon Sep 17 00:00:00 2001 From: Nicolas Le Goff Date: Tue, 3 Jan 2012 19:34:16 +0100 Subject: [PATCH] remove non relevant tests --- lib/unitTest/api/oauthv2/applicationTest.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/lib/unitTest/api/oauthv2/applicationTest.php b/lib/unitTest/api/oauthv2/applicationTest.php index 615652e611..91a49bb74d 100644 --- a/lib/unitTest/api/oauthv2/applicationTest.php +++ b/lib/unitTest/api/oauthv2/applicationTest.php @@ -174,8 +174,6 @@ class oauthv2_application_test extends PhraseanetWebTestCaseAuthenticatedAbstrac $acc->set_revoked(true); // revoked to show form $crawler = $this->client->request('GET', '/authorize', $this->queryParameters); - $this->assertTrue($crawler->filter('form')->count() == 2); - $this->assertTrue($crawler->filter('input')->count() == 12); $this->assertTrue($this->client->getResponse()->isSuccessful()); $this->assertRegExp("/" . self::$appli->get_client_id() . "/", $this->client->getResponse()->getContent()); $this->assertRegExp("/" . str_replace("/", '\/', self::$appli->get_redirect_uri()) . "/", $this->client->getResponse()->getContent());