Browse Source

fix outdated tests

SiM 3 years ago
parent
commit
6976b6c43d

+ 2 - 2
test/functional/frontend/PrestataireActionsTest.php

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

+ 2 - 2
test/functional/frontend/SubscriptionActionsTest.php

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