You are here

function ImageAllowInsecureDerivativesTestCase::testUinstallModule in Image Allow Insecure Derivatives 7

Tests uninstalling the module.

File

./image_allow_insecure_derivatives.test, line 42
Tests for the Image Allow Insecure Derivatives module.

Class

ImageAllowInsecureDerivativesTestCase
Provides tests for the Image Allow Insecure Derivatives module.

Code

function testUinstallModule() {
  drupal_uninstall_modules(array(
    'image_allow_insecure_derivatives',
  ));
  $setting = variable_get('image_allow_insecure_derivatives', FALSE);
  $this
    ->assertFalse($setting, 'Uninstalling the module removes the setting.');
}