diff --git a/tests/simplenews.test b/tests/simplenews.test index 1211629..e9cf3aa 100644 --- a/tests/simplenews.test +++ b/tests/simplenews.test @@ -1870,6 +1870,10 @@ class SimpleNewsUpgradePathTestCase extends UpgradePathTestCase { ); $this->drupalPost('admin/modules', $edit, t('Save configuration')); + // Attempt to subscribe a mail address. + $mail = 'new@example.org'; + $tid = 1; + simplenews_subscribe_user($mail, $tid); $this->drupalGet('admin/config/services/simplenews'); $this->assertText('Drupal 6 newsletter'); @@ -1877,6 +1881,7 @@ class SimpleNewsUpgradePathTestCase extends UpgradePathTestCase { $this->drupalGet('admin/people/simplenews'); $this->assertText('another@example.org'); + $this->assertText($mail); $this->drupalGet('admin/structure/taxonomy/newsletter');