public function SimpleNewsUpgradePath61TestCase::testSimplenewsUpgrade in Simplenews 7
Same name and namespace in other branches
- 7.2 tests/simplenews.test \SimpleNewsUpgradePath61TestCase::testSimplenewsUpgrade()
Test a successful upgrade.
File
- tests/
simplenews.test, line 1983 - Simplenews test functions.
Class
- SimpleNewsUpgradePath61TestCase
- Upgrade test from 6.x-1.x
Code
public function testSimplenewsUpgrade() {
$this
->prepareUpgradePath();
$this
->assertTrue($this
->performUpgrade(), t('Upgraded successfully.'));
$this
->assertUpgradePath();
}