You are here

public function SimpleNewsUpgradePath62TestCase::testSimplenewsUpgrade in Simplenews 7

Same name and namespace in other branches
  1. 7.2 tests/simplenews.test \SimpleNewsUpgradePath62TestCase::testSimplenewsUpgrade()

Test a successful upgrade.

File

tests/simplenews.test, line 2020
Simplenews test functions.

Class

SimpleNewsUpgradePath62TestCase
Upgrade test from 6.x-2.x

Code

public function testSimplenewsUpgrade() {
  $this
    ->prepareUpgradePath();
  $this
    ->assertTrue($this
    ->performUpgrade(), t('Upgraded successfully.'));
  $this
    ->assertUpgradePath();
}