You are here

protected function BmTestBase::assertNoFileTimestamp in Backup and Migrate 7.3

Confirm that a backup filename does not include a timestamp.

Parameters

object $file: The backup file to examine.

Return value

bool Indicates whether the file does not include a timestamp.

1 call to BmTestBase::assertNoFileTimestamp()
BmTestProfiles::testFilenameOptions in tests/BmTestProfiles.test
Confirm the backup filename processes work as expected.

File

tests/BmTestBase.test, line 239
Shared functionality to make the rest of the tests simpler.

Class

BmTestBase
Base class for testing a module's custom tags.

Code

protected function assertNoFileTimestamp($file) {
  return !$this
    ->assertFalse($this
    ->fileHasTimestamp($file));
}