Skip to content

Commit 789ce91

Browse files
committed
more field ui changes
1 parent d154016 commit 789ce91

File tree

1 file changed

+3
-7
lines changed

1 file changed

+3
-7
lines changed

tests/sut/qux/tests/src/Functional/FieldTypeTest.php

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,13 @@ public function testFieldType(): void {
4444
$this->drupalLogin($admin_user);
4545

4646
// Create new field.
47-
$this->drupalGet('admin/structure/types/manage/test/fields/add-field');
48-
$edit = [
49-
'new_storage_type' => 'qux_example',
50-
];
51-
$this->submitForm($edit, 'Continue');
47+
$this->drupalGet('admin/structure/types/manage/test/fields/add-field/qux_example/false');
5248
$edit = [
5349
'label' => 'Foo',
5450
'field_name' => 'foo',
5551
];
5652
$this->submitForm($edit, 'Continue');
57-
$this->submitForm([], 'Save settings');
53+
$this->submitForm([], 'Save');
5854

5955
// Update storage settings.
6056
$this->drupalGet('/admin/structure/types/manage/test/fields/node.test.field_foo');
@@ -64,7 +60,7 @@ public function testFieldType(): void {
6460
'field_storage[subform][settings][foo]' => 'Hi!',
6561
'settings[bar]' => 'Yo!',
6662
];
67-
$this->submitForm($edit, 'Save settings');
63+
$this->submitForm($edit, 'Save');
6864

6965
// Make sure field settings have been persisted correctly.
7066
$this->drupalGet('/admin/structure/types/manage/test/fields/node.test.field_foo');

0 commit comments

Comments
 (0)