public function DiffAdminFormsTest::testSettingsTab in Diff 8
Tests the Settings tab.
File
- tests/
src/ Functional/ DiffAdminFormsTest.php, line 49
Class
- DiffAdminFormsTest
- Tests the Diff admin forms.
Namespace
Drupal\Tests\diff\FunctionalCode
public function testSettingsTab() {
$edit = [
'radio_behavior' => 'linear',
'context_lines_leading' => 10,
'context_lines_trailing' => 5,
];
$this
->drupalPostForm('admin/config/content/diff/general', $edit, t('Save configuration'));
$this
->assertText('The configuration options have been saved.');
}