function ImageAllowInsecureDerivativesTestCase::testDefaultSetting in Image Allow Insecure Derivatives 7
Makes sure the default setting is enabled.
File
- ./
image_allow_insecure_derivatives.test, line 34 - Tests for the Image Allow Insecure Derivatives module.
Class
- ImageAllowInsecureDerivativesTestCase
- Provides tests for the Image Allow Insecure Derivatives module.
Code
function testDefaultSetting() {
$setting = variable_get('image_allow_insecure_derivatives', FALSE);
$this
->assertTrue($setting, 'The default setting is TRUE.');
}