protected function BmTestBase::assertFileTimestamp in Backup and Migrate 7.3
Confirm that a backup filename includes a timestamp.
Parameters
object $file: The backup file to examine.
Return value
bool Indicates whether the file includes a timestamp.
1 call to BmTestBase::assertFileTimestamp()
- BmTestProfiles::testFilenameOptions in tests/
BmTestProfiles.test - Confirm the backup filename processes work as expected.
File
- tests/
BmTestBase.test, line 226 - Shared functionality to make the rest of the tests simpler.
Class
- BmTestBase
- Base class for testing a module's custom tags.
Code
protected function assertFileTimestamp($file) {
return $this
->assertTrue($this
->fileHasTimestamp($file));
}