You are here

function EncryptEncryptionMethodHooksTest::testMethodAppearsInList in Encrypt 7

Ensure that our declared encryption method appears on the settings page.

File

./encrypt.test, line 177
Tests for encrypt.module

Class

EncryptEncryptionMethodHooksTest
Test encryption method hooks.

Code

function testMethodAppearsInList() {
  $this
    ->drupalGet('admin/config/system/encrypt');
  $this
    ->assertText('Test Method', t('Encryption method name is present.'));
  $this
    ->assertText('This is just a test encryption method.', t('Encryption method description is present.'));
}