Same name in this branch
- 5.0.x advagg_old_ie_compatibility/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_old_ie_compatibility\Kernel\Form\SettingsFormTest::testSettingsForm()
- 5.0.x advagg_bundler/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_bundler\Kernel\Form\SettingsFormTest::testSettingsForm()
- 5.0.x advagg_css_minify/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_css_minify\Kernel\Form\SettingsFormTest::testSettingsForm()
- 5.0.x advagg_js_minify/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_js_minify\Kernel\Form\SettingsFormTest::testSettingsForm()
- 5.0.x advagg_cdn/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_cdn\Kernel\Form\SettingsFormTest::testSettingsForm()
- 5.0.x tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg\Kernel\Form\SettingsFormTest::testSettingsForm()
- 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
- 6.0.x advagg_bundler/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_bundler\Kernel\Form\SettingsFormTest::testSettingsForm()
- 6.0.x advagg_css_minify/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_css_minify\Kernel\Form\SettingsFormTest::testSettingsForm()
- 6.0.x advagg_js_minify/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_js_minify\Kernel\Form\SettingsFormTest::testSettingsForm()
- 6.0.x tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg\Kernel\Form\SettingsFormTest::testSettingsForm()
- 6.0.x advagg_ext_minify/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_ext_minify\Kernel\Form\SettingsFormTest::testSettingsForm()
- 6.0.x advagg_mod/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_mod\Kernel\Form\SettingsFormTest::testSettingsForm()
- 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.x-4.x advagg_bundler/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_bundler\Kernel\Form\SettingsFormTest::testSettingsForm()
- 8.x-4.x advagg_css_minify/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_css_minify\Kernel\Form\SettingsFormTest::testSettingsForm()
- 8.x-4.x advagg_js_minify/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_js_minify\Kernel\Form\SettingsFormTest::testSettingsForm()
- 8.x-4.x advagg_cdn/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_cdn\Kernel\Form\SettingsFormTest::testSettingsForm()
- 8.x-4.x tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg\Kernel\Form\SettingsFormTest::testSettingsForm()
- 8.x-4.x advagg_ext_minify/tests/src/Kernel/Form/SettingsFormTest.php \Drupal\Tests\advagg_ext_minify\Kernel\Form\SettingsFormTest::testSettingsForm()
- 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\FormCode
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);
}