- Issue created by @quietone
- πΊπΈUnited States smustgrave
Actually wonder if this increased coverage?
$result = $this->assertSession()->elementTextEquals('xpath', "//a[contains(@href, '{$href}')]", $text);
If this failed would it have been silent and assigned to the variable?
But changes appear to make sense and didn't break anything.
- π¦πΊAustralia mstrelan
MR looks good but I am curious about one of the loops that was removed.
Re #5 no change to coverage, elementTextEquals ultimately calls \PHPUnit\Framework\Constraint\Constraint::evaluate which will fail the test if it evaluates to false, regardless of if anything is returned.
- π¬π§United Kingdom alexpott πͺπΊπ
Added an MR review and this needs a merge with HEAD
- π³πΏNew Zealand quietone
Rebased with merge conflicts in phpcs.xml.dist and core/modules/language/tests/src/Functional/LanguageSwitchingTest.php
- πΊπΈUnited States smustgrave
Believe feedback for this one has been addressed
- Status changed to Needs review
3 days ago 7:21am 19 December 2024 - π³πΏNew Zealand quietone
Applied two suggestions from alexpott, so let's have another review.