Upgraded drupal core with security updates
[yaffs-website] / web / core / modules / views_ui / tests / src / Functional / CustomBooleanTest.php
similarity index 97%
rename from web/core/modules/views_ui/src/Tests/CustomBooleanTest.php
rename to web/core/modules/views_ui/tests/src/Functional/CustomBooleanTest.php
index adae59ab22c8d9de64e9412b620f531393192328..95f6d566c4bdb0d3e3d0daeedecb4e78d88360eb 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 
-namespace Drupal\views_ui\Tests;
+namespace Drupal\Tests\views_ui\Functional;
 
 use Drupal\Component\Utility\SafeMarkup;
 use Drupal\views\Views;
@@ -173,8 +173,7 @@ class CustomBooleanTest extends UITestBase {
       $this->{$values['test']}(strpos($output, $values['false']), SafeMarkup::format('Expected custom boolean FALSE value %value in output for %type', ['%value' => $values['false'], '%type' => $type]));
 
       // Assert that we are using the correct template.
-      $this->setRawContent($output);
-      $this->assertText('llama', 'Loaded the correct views-view-field.html.twig template');
+      $this->assertContains('llama', (string) $output);
     }
   }