FieldEncryptCommerceTest.php in Field Encryption 8.2
File
tests/src/Functional/FieldEncryptCommerceTest.php
View source
<?php
namespace Drupal\Tests\field_encrypt\Functional;
class FieldEncryptCommerceTest 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);
}
}