BackupMigrateEnablingTest.php in Backup and Migrate 5.0.x
File
tests/src/Functional/BackupMigrateEnablingTest.php
View source
<?php
namespace Drupal\Tests\backup_migrate\Functional;
use Drupal\Tests\BrowserTestBase;
class BackupMigrateEnablingTest extends BrowserTestBase {
public static $modules = [
'backup_migrate',
];
protected $strictConfigSchema = FALSE;
protected $defaultTheme = 'stark';
public function testEnabling() {
$this
->drupalGet('');
$this
->assertSession()
->statusCodeEquals(200);
}
}