protected function ViewsDataExportGarbageCollectionTest::getNumberOfFiles in Views data export 7.3
1 call to ViewsDataExportGarbageCollectionTest::getNumberOfFiles()
- ViewsDataExportGarbageCollectionTest::testExportedGarbageCollection in tests/
garbagecollection.test - Test that VDE export can only be downloaded by the user that created them.
File
- tests/
garbagecollection.test, line 56
Class
- ViewsDataExportGarbageCollectionTest
- Test class for garbage collection of VDE export data.
Code
protected function getNumberOfFiles() {
return (int) db_select('file_managed')
->countQuery()
->execute()
->fetchField();
}