Author: jablko
Date: Wed Dec 9 13:42:34 2009
New Revision: 4130
Log:
First crack at testing ISAD create with specific parameters
Modified:
trunk/test/functional/qubit/informationobjectActionsTest.php
Modified: trunk/test/functional/qubit/informationobjectActionsTest.php
==============================================================================
--- trunk/test/functional/qubit/informationobjectActionsTest.php Wed Dec
9 13:31:22 2009 (r4129)
+++ trunk/test/functional/qubit/informationobjectActionsTest.php Wed Dec
9 13:42:34 2009 (r4130)
@@ -5,14 +5,14 @@
$browser = new sfTestFunctional(new sfBrowser);
$browser
- ->get('/informationobject/index')
+ ->post('/create/isad', array('title' => 'Example fonds'))
->with('request')->begin()
- ->isParameter('module', 'informationobject')
- ->isParameter('action', 'index')
+ ->isParameter('module', 'sfIsadPlugin')
+ ->isParameter('action', 'edit')
->end()
->with('response')->begin()
->isStatusCode(200)
- ->checkElement('body', '!/This is a temporary page/')
+ ->checkElement('body', '/Example fonds/')
->end();
--
You received this message because you are subscribed to the Google Groups
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/qubit-commits?hl=en.