You are here

function BackupMigrateUnitTest::testGetSavePath in Backup and Migrate 5

File

tests/BackupMigrateUnitTest.test, line 49

Class

BackupMigrateUnitTest
Unit tests for Backup and Migrate module.

Code

function testGetSavePath() {
  $this
    ->assertEqual(_backup_migrate_get_save_path(), file_directory_path() . "/backup_migrate");
  $this
    ->assertEqual(_backup_migrate_get_save_path('manual'), file_directory_path() . "/backup_migrate/manual");
  $this
    ->assertEqual(_backup_migrate_get_save_path('scheduled'), file_directory_path() . "/backup_migrate/scheduled");
}