Skip to content
Snippets Groups Projects

Issue #3419826: $expected parameter in test is badly named

Merged Alvaro Hurtado requested to merge issue/3419826/fixTest into 1.0.x
1 file
+ 2
3
Compare changes
  • Side-by-side
  • Inline
@@ -193,9 +193,8 @@ class SearchInTextFieldsTest extends KernelTestBase {
$termsInNode = $this->getTermsFromNode($node);
foreach ($expected as $term) {
$this->assertContains($term, $termsInNode);
}
$this->assertEqualsCanonicalizing($expected, $termsInNode);
foreach ($notExpected as $term) {
$this->assertNotContains($term, $termsInNode);
}
Loading