Same name in this branch
  1. 5.0.x advagg_old_ie_compatibility/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_old_ie_compatibility\Kernel\Form\SettingsFormTest::testSettingsForm()
  2. 5.0.x advagg_bundler/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_bundler\Kernel\Form\SettingsFormTest::testSettingsForm()
  3. 5.0.x advagg_css_minify/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_css_minify\Kernel\Form\SettingsFormTest::testSettingsForm()
  4. 5.0.x advagg_js_minify/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_js_minify\Kernel\Form\SettingsFormTest::testSettingsForm()
  5. 5.0.x advagg_cdn/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_cdn\Kernel\Form\SettingsFormTest::testSettingsForm()
  6. 5.0.x tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg\Kernel\Form\SettingsFormTest::testSettingsForm()
  7. 5.0.x advagg_ext_minify/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_ext_minify\Kernel\Form\SettingsFormTest::testSettingsForm()
Same name in other branches
  1. 6.0.x advagg_bundler/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_bundler\Kernel\Form\SettingsFormTest::testSettingsForm()
  2. 6.0.x advagg_css_minify/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_css_minify\Kernel\Form\SettingsFormTest::testSettingsForm()
  3. 6.0.x advagg_js_minify/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_js_minify\Kernel\Form\SettingsFormTest::testSettingsForm()
  4. 6.0.x tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg\Kernel\Form\SettingsFormTest::testSettingsForm()
  5. 6.0.x advagg_ext_minify/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_ext_minify\Kernel\Form\SettingsFormTest::testSettingsForm()
  6. 6.0.x advagg_mod/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_mod\Kernel\Form\SettingsFormTest::testSettingsForm()
  7. 8.x-4.x advagg_old_ie_compatibility/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_old_ie_compatibility\Kernel\Form\SettingsFormTest::testSettingsForm()
  8. 8.x-4.x advagg_bundler/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_bundler\Kernel\Form\SettingsFormTest::testSettingsForm()
  9. 8.x-4.x advagg_css_minify/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_css_minify\Kernel\Form\SettingsFormTest::testSettingsForm()
  10. 8.x-4.x advagg_js_minify/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_js_minify\Kernel\Form\SettingsFormTest::testSettingsForm()
  11. 8.x-4.x advagg_cdn/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_cdn\Kernel\Form\SettingsFormTest::testSettingsForm()
  12. 8.x-4.x tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg\Kernel\Form\SettingsFormTest::testSettingsForm()
  13. 8.x-4.x advagg_ext_minify/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_ext_minify\Kernel\Form\SettingsFormTest::testSettingsForm()
  14. 8.x-4.x advagg_mod/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_mod\Kernel\Form\SettingsFormTest::testSettingsForm()

Tests for \Drupal\advagg_mod\Form\SettingsForm.

File

advagg_mod/tests/src/Kernel/Form/SettingsFormTest.php, line 55

Class

SettingsFormTest
Tests the Modifier Minification settings form.

Namespace

Drupal\Tests\advagg_mod\Kernel\Form

Code

public function testSettingsForm() {
    $this->assertInstanceOf(FormInterface::class, $this->settingsForm);
    $id = $this->settingsForm
        ->getFormId();
    $this->assertEquals('advagg_mod_settings', $id);
    $method = new \ReflectionMethod(SettingsForm::class, 'getEditableConfigNames');
    $method->setAccessible(TRUE);
    $name = $method->invoke($this->settingsForm);
    $this->assertEquals([
        'advagg_mod.settings',
    ], $name);
}