Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / views_ui / tests / src / Functional / AreaEntityUITest.php
similarity index 93%
rename from web/core/modules/views_ui/src/Tests/AreaEntityUITest.php
rename to web/core/modules/views_ui/tests/src/Functional/AreaEntityUITest.php
index ffe895ab036b6fdfa20fde269b5918a564539fec..d74575fd46324653b41b142a379822c81fa9f5d5 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
 <?php
 
-namespace Drupal\views_ui\Tests;
+namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\block\Entity\Block;
 use Drupal\entity_test\Entity\EntityTest;
 
 use Drupal\block\Entity\Block;
 use Drupal\entity_test\Entity\EntityTest;
@@ -34,15 +34,15 @@ class AreaEntityUITest extends UITestBase {
     $this->drupalGet($view->urlInfo('edit-form'));
 
     // Add a global NULL argument to the view for testing argument placeholders.
     $this->drupalGet($view->urlInfo('edit-form'));
 
     // Add a global NULL argument to the view for testing argument placeholders.
-    $this->drupalPostForm("admin/structure/views/nojs/add-handler/$id/page_1/argument", ['name[views.null]' => 1], 'Add and configure contextual filters');
+    $this->drupalPostForm("admin/structure/views/nojs/add-handler/$id/page_1/argument", ['name[views.null]' => TRUE], 'Add and configure contextual filters');
     $this->drupalPostForm(NULL, [], 'Apply');
 
     // Configure both the entity_test area header and the block header to
     // reference the given entities.
     $this->drupalPostForm(NULL, [], 'Apply');
 
     // Configure both the entity_test area header and the block header to
     // reference the given entities.
-    $this->drupalPostForm("admin/structure/views/nojs/add-handler/$id/page_1/header", ['name[views.entity_block]' => 1], 'Add and configure header');
+    $this->drupalPostForm("admin/structure/views/nojs/add-handler/$id/page_1/header", ['name[views.entity_block]' => TRUE], 'Add and configure header');
     $this->drupalPostForm(NULL, ['options[target]' => $block->id()], 'Apply');
 
     $this->drupalPostForm(NULL, ['options[target]' => $block->id()], 'Apply');
 
-    $this->drupalPostForm("admin/structure/views/nojs/add-handler/$id/page_1/header", ['name[views.entity_entity_test]' => 1], 'Add and configure header');
+    $this->drupalPostForm("admin/structure/views/nojs/add-handler/$id/page_1/header", ['name[views.entity_entity_test]' => TRUE], 'Add and configure header');
     $this->drupalPostForm(NULL, ['options[target]' => $entity_test->id()], 'Apply');
 
     $this->drupalPostForm(NULL, [], 'Save');
     $this->drupalPostForm(NULL, ['options[target]' => $entity_test->id()], 'Apply');
 
     $this->drupalPostForm(NULL, [], 'Save');