public function BackupMigrateEnablingTest::testEnabling in Backup and Migrate 5.0.x
Same name and namespace in other branches
- 8.4 tests/src/Functional/BackupMigrateEnablingTest.php \Drupal\Tests\backup_migrate\Functional\BackupMigrateEnablingTest::testEnabling()
Tests if site opens with no errors.
File
- tests/
src/ Functional/ BackupMigrateEnablingTest.php, line 32
Class
- BackupMigrateEnablingTest
- Checks if module enabling doesn't break the site.
Namespace
Drupal\Tests\backup_migrate\FunctionalCode
public function testEnabling() {
$this
->drupalGet('');
$this
->assertSession()
->statusCodeEquals(200);
}