You are here

function BackupMigrateUnitTest::testGetSQLFooter in Backup and Migrate 5

File

tests/BackupMigrateUnitTest.test, line 658

Class

BackupMigrateUnitTest
Unit tests for Backup and Migrate module.

Code

function testGetSQLFooter() {
  $footer = _backup_migrate_get_sql_file_footer();
  $this
    ->assertTrue(strpos($footer, "/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;") !== false, t('Check for one of the mode reset statements'));
}