Completed
Pull Request — 8.x-1.x (#126)
by Janez
06:19
created
src/Form/GeneralInfoConfig.php 1 patch
Unused Use Statements   -1 removed lines patch added patch discarded remove patch
@@ -13,7 +13,6 @@
 block discarded – undo
13 13
 use Drupal\entity_browser\SelectionDisplayManager;
14 14
 use Drupal\entity_browser\WidgetManager;
15 15
 use Drupal\entity_browser\WidgetSelectorManager;
16
-use Drupal\user\SharedTempStoreFactory;
17 16
 use Symfony\Component\DependencyInjection\ContainerInterface;
18 17
 
19 18
 /**
Please login to merge, or discard this patch.
src/Tests/ConfigUITest.php 1 patch
Spacing   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -137,24 +137,24 @@
 block discarded – undo
137 137
     $this->assertOptionSelected('edit-widget-selector', 'tabs', 'Correct widget selector selected.');
138 138
     $this->assertOptionSelected('edit-selection-display', 'no_display', 'Correct selection display selected.');
139 139
 
140
-    $this->drupalPostForm(NULL,[], 'Next');
140
+    $this->drupalPostForm(NULL, [], 'Next');
141 141
     $this->assertUrl('/admin/config/content/entity_browser/test_entity_browser/display', ['query' => ['js' => 'nojs']]);
142 142
     $this->assertFieldById('edit-width', '100', 'Correct value for width found.');
143 143
     $this->assertFieldById('edit-height', '100', 'Correct value for height found.');
144 144
     $this->assertFieldById('edit-link-text', 'All animals are created equal', 'Correct value for link text found.');
145 145
     $this->assertFieldChecked('edit-auto-open', 'Auto open is enabled.');
146 146
 
147
-    $this->drupalPostForm(NULL,[], 'Next');
147
+    $this->drupalPostForm(NULL, [], 'Next');
148 148
     $this->assertUrl('/admin/config/content/entity_browser/test_entity_browser/widget_selector', ['query' => ['js' => 'nojs']]);
149 149
 
150
-    $this->drupalPostForm(NULL,[], 'Next');
150
+    $this->drupalPostForm(NULL, [], 'Next');
151 151
     $this->assertUrl('/admin/config/content/entity_browser/test_entity_browser/selection_display', ['query' => ['js' => 'nojs']]);
152 152
 
153
-    $this->drupalPostForm(NULL,[], 'Next');
154
-    $this->assertFieldById('edit-table-' . $uuid . '-label', 'upload', 'Correct value for widget label found.');
155
-    $this->assertFieldById('edit-table-' . $uuid . '-form-upload-location', 'public://', 'Correct value for upload location found.');
153
+    $this->drupalPostForm(NULL, [], 'Next');
154
+    $this->assertFieldById('edit-table-'.$uuid.'-label', 'upload', 'Correct value for widget label found.');
155
+    $this->assertFieldById('edit-table-'.$uuid.'-form-upload-location', 'public://', 'Correct value for upload location found.');
156 156
 
157
-    $this->drupalPostForm(NULL,[], 'Finish');
157
+    $this->drupalPostForm(NULL, [], 'Finish');
158 158
 
159 159
     $this->drupalLogout();
160 160
     $this->drupalGet('/admin/config/content/entity_browser/test_entity_browser/general');
Please login to merge, or discard this patch.