X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs-website;a=blobdiff_plain;f=web%2Fcore%2Fmodules%2Fviews_ui%2Ftests%2Fsrc%2FFunctional%2FCustomBooleanTest.php;fp=web%2Fcore%2Fmodules%2Fviews_ui%2Fsrc%2FTests%2FCustomBooleanTest.php;h=95f6d566c4bdb0d3e3d0daeedecb4e78d88360eb;hp=adae59ab22c8d9de64e9412b620f531393192328;hb=bfbba508964731508b9bd6d5835c2edc858db95b;hpb=cb9a80db11fc6b014e5b1e693a5a391c95eb5d9a diff --git a/web/core/modules/views_ui/src/Tests/CustomBooleanTest.php b/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 adae59ab2..95f6d566c 100644 --- a/web/core/modules/views_ui/src/Tests/CustomBooleanTest.php +++ b/web/core/modules/views_ui/tests/src/Functional/CustomBooleanTest.php @@ -1,6 +1,6 @@ {$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); } }