You are here

protected function ViewsDataExportGarbageCollectionTest::getNumberOfStoredExports in Views data export 7.3

1 call to ViewsDataExportGarbageCollectionTest::getNumberOfStoredExports()
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 52

Class

ViewsDataExportGarbageCollectionTest
Test class for garbage collection of VDE export data.

Code

protected function getNumberOfStoredExports() {
  return (int) db_select('views_data_export')
    ->countQuery()
    ->execute()
    ->fetchField();
}