Browse Source

In 10.2 field settings is a single form.

pull/993/head
Rosie Le Faive 1 year ago
parent
commit
1ae5c8cad1
  1. 2
      tests/src/Functional/JsonldTypeAlterReactionTest.php

2
tests/src/Functional/JsonldTypeAlterReactionTest.php

@ -32,6 +32,7 @@ class JsonldTypeAlterReactionTest extends JsonldSelfReferenceReactionTest {
'label' => 'Typed Predicate', 'label' => 'Typed Predicate',
'field_name' => 'type_predicate', 'field_name' => 'type_predicate',
], 'Save and continue'); ], 'Save and continue');
$this->submitForm([], $this->t('Save field settings'));
} }
else { else {
$this->submitForm([ $this->submitForm([
@ -40,7 +41,6 @@ class JsonldTypeAlterReactionTest extends JsonldSelfReferenceReactionTest {
'field_name' => 'type_predicate', 'field_name' => 'type_predicate',
], 'Continue'); ], 'Continue');
} }
$this->submitForm([], $this->t('Save field settings'));
$this->submitForm([], $this->t('Save settings')); $this->submitForm([], $this->t('Save settings'));
$this->assertSession()->responseContains('field_type_predicate'); $this->assertSession()->responseContains('field_type_predicate');

Loading…
Cancel
Save