You are here

public function OptimizedbFunctionsTestCase::testTablesList in OptimizeDB 7

Sizes tables.

File

./optimizedb.test, line 44
Tests for optimizedb.module.

Class

OptimizedbFunctionsTestCase
Test the module functions.

Code

public function testTablesList() {
  variable_set('optimizedb_tables_size', 0);

  // Function for output all database tables and update their total size.
  _optimizedb_tables_list();
  $this
    ->assertNotEqual(variable_get('optimizedb_tables_size'), 0);
}