// Make sure that the new complex action was saved properly.
$this->assertText(t('The action has been successfully saved.'),t("Make sure we get a confirmation that we've successfully saved the complex action."));
$this->assertText($action_label,t("Make sure the action label appears on the configuration page after we've saved the complex action."));
$this->assertText(t('The action has been successfully saved.'),"Make sure we get a confirmation that we've successfully saved the complex action.");
$this->assertText($action_label,"Make sure the action label appears on the configuration page after we've saved the complex action.");
// Make another POST request to the action edit page.
$this->clickLink(t('configure'));
...
...
@@ -65,9 +65,9 @@ function testActionConfiguration() {
$this->drupalPost(NULL,$edit,t('Save'));
// Make sure that the action updated properly.
$this->assertText(t('The action has been successfully saved.'),t("Make sure we get a confirmation that we've successfully updated the complex action."));
$this->assertNoText($action_label,t("Make sure the old action label does NOT appear on the configuration page after we've updated the complex action."));
$this->assertText($new_action_label,t("Make sure the action label appears on the configuration page after we've updated the complex action."));
$this->assertText(t('The action has been successfully saved.'),"Make sure we get a confirmation that we've successfully updated the complex action.");
$this->assertNoText($action_label,"Make sure the old action label does NOT appear on the configuration page after we've updated the complex action.");
$this->assertText($new_action_label,"Make sure the action label appears on the configuration page after we've updated the complex action.");
// Make sure that deletions work properly.
$this->clickLink(t('delete'));
...
...
@@ -75,10 +75,10 @@ function testActionConfiguration() {