CommerceTest.php in Field Encryption 3.0.x
File
tests/src/Functional/CommerceTest.php
View source
<?php
namespace Drupal\Tests\field_encrypt\Functional;
class CommerceTest extends FieldEncryptTestBase {
public static $modules = [
'commerce',
];
public function testSettingsPage() {
$this
->drupalLogin($this
->createUser([
'administer field encryption',
]));
$this
->drupalGet('admin/config/system/field-encrypt');
$this
->assertSession()
->statusCodeEquals(200);
$this
->assertSession()
->elementTextContains('css', '#edit-default-properties-reference-field-uientity-referencenode--wrapper', 'Content properties');
$this
->drupalGet('admin/config/system/field-encrypt/field-overview');
$this
->assertSession()
->statusCodeEquals(200);
}
}
Classes
Name |
Description |
CommerceTest |
Tests field encryption settings with the Commerce module. |