You are here

AdminSettingsTest.php in Message Subscribe 8

File

message_subscribe_email/tests/src/Kernel/Form/AdminSettingsTest.php
View source
<?php

namespace Drupal\Tests\message_subscribe_email\Kernel\Form;

use Drupal\Tests\message_subscribe\Kernel\Form\MessageSubscribeAdminSettingsTest;

/**
 * Test the admin settings form.
 *
 * @group message_subscribe
 */
class AdminSettingsTest extends MessageSubscribeAdminSettingsTest {

  /**
   * {@inheritdoc}
   */
  public static $modules = [
    'message_subscribe_email',
  ];

  /**
   * {@inheritdoc}
   */
  public function setUp() {
    parent::setUp();
    $this->values['message_subscribe_email_flag_prefix'] = [
      '#value' => 'non_standard_email',
      '#config_name' => 'message_subscribe_email.settings',
      '#config_key' => 'flag_prefix',
    ];
  }

}

Classes

Namesort descending Description
AdminSettingsTest Test the admin settings form.