public function EncryptEncryptionMethodPluginsTest::testPluginsAppearInList in Encrypt 7.2
Same name and namespace in other branches
- 7.3 encrypt.test \EncryptEncryptionMethodPluginsTest::testPluginsAppearInList()
The declared encryption method appears on the add configuration page.
File
- ./
encrypt.test, line 193 - Tests for the project Encrypt.
Class
- EncryptEncryptionMethodPluginsTest
- Test encryption method hooks.
Code
public function testPluginsAppearInList() {
$this
->drupalGet('admin/config/system/encrypt/add');
$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.'));
$this
->assertText('Test Key Provider', t('Key provider name is present.'));
$this
->assertText('This is just a test key provider.', t('Key provider description is present.'));
}