Commit 45e5a8ae authored by catch's avatar catch
Browse files

Issue #3208225 by alexpott, Spokje: Do less unnecessary work in FieldHelpTest

parent f122c53e
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -23,9 +23,6 @@ class FieldHelpTest extends BrowserTestBase {
   */
  protected $defaultTheme = 'stark';

  // Tests field help implementation without optional core modules enabled.
  protected $profile = 'minimal';

  /**
   * The admin user that will be created.
   */
@@ -53,9 +50,6 @@ public function testFieldHelp() {

    // Enable the Options, Email and Field API Test modules.
    \Drupal::service('module_installer')->install(['options', 'field_test']);
    $this->resetAll();
    \Drupal::service('plugin.manager.field.widget')->clearCachedDefinitions();
    \Drupal::service('plugin.manager.field.field_type')->clearCachedDefinitions();

    $this->drupalGet('admin/help/field');
    $this->assertSession()->linkExists('Options', 0, 'Options module is listed on the Field help page.');