protected function PerformanceScriptTest::setUp in Field Encryption 3.0.x
File
- tests/
src/ Functional/ PerformanceScriptTest.php, line 42
Class
- PerformanceScriptTest
- Tests the performance script provided by the module.
Namespace
Drupal\Tests\field_encrypt\FunctionalCode
protected function setUp() {
// This test relies on
// \Drupal\Tests\encrypt\Functional\EncryptTestBase::setUp()
// creating an encryption profile called 'encryption_profile_1' to avoid
// requiring the sodium module.
parent::setUp();
// Create content type to test.
$this
->drupalCreateContentType([
'type' => 'page',
'name' => 'Basic page',
]);
}