Browse Source

admin functional tests cleanup

SiM 5 years ago
parent
commit
0c08465992

+ 0 - 13
test/functional/admin/cronActionsTest.php

@@ -1,13 +0,0 @@
-<?php
-
-include(dirname(__FILE__).'/../../bootstrap/functional.php');
-
-// create a new test browser
-$browser = new sfTestBrowser();
-
-$browser->
-  get('/cron/index')->
-  isStatusCode(200)->
-  isRequestParameter('module', 'cron')->
-  isRequestParameter('action', 'index')->
-  checkResponseElement('body', '!/This is a temporary page/');

+ 3 - 3
test/functional/admin/kataoMemberAdhesionActionsTest.php

@@ -6,8 +6,8 @@ include(dirname(__FILE__).'/../../bootstrap/functional.php');
 $browser = new sfTestBrowser();
 
 $browser->
-  get('/kataoMemberAdhesion/index')->
+  get('/kataoMember/adhesionShowAll')->
   isStatusCode(200)->
-  isRequestParameter('module', 'kataoMemberAdhesion')->
-  isRequestParameter('action', 'index')->
+  isRequestParameter('module', 'kataoMember')->
+  isRequestParameter('action', 'adhesionShowAll')->
   checkResponseElement('body', '!/This is a temporary page/');

+ 0 - 13
test/functional/admin/patchActionsTest.php

@@ -1,13 +0,0 @@
-<?php
-
-include(dirname(__FILE__).'/../../bootstrap/functional.php');
-
-// create a new test browser
-$browser = new sfTestBrowser();
-
-$browser->
-  get('/patch/index')->
-  isStatusCode(200)->
-  isRequestParameter('module', 'patch')->
-  isRequestParameter('action', 'index')->
-  checkResponseElement('body', '!/This is a temporary page/');