You are here

function CurrencyExchangeRateDBTableModuleInstallUninstall::testUninstalla in Currency 7.2

Test uninstall.

File

currency_exchange_rate_db_table/tests/CurrencyExchangeRateDBTableModuleInstallUninstall.test, line 35
Contains class CurrencyExchangeRateDBTableModuleInstallUninstall.

Class

CurrencyExchangeRateDBTableModuleInstallUninstall
Tests installing and uninstalling the module.

Code

function testUninstalla() {
  $this
    ->assertTrue(module_exists('currency_exchange_rate_db_table'));
  module_disable(array(
    'currency_exchange_rate_db_table',
  ));
  drupal_uninstall_modules(array(
    'currency_exchange_rate_db_table',
  ));
  $this
    ->assertFalse(module_exists('currency_exchange_rate_db_table'));
}