Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
FYI, tests are broken in 8.x-3.x. I attempted to get them up to date in the 8.x-3.x-tests branch, available on d.o, github, and gitlab, but struck out. I would appreciate some help.
Comment | File | Size | Author |
---|---|---|---|
#14 | taxonomy_menu--tests_are_broken_in_8x3x--3107149_14.patch | 7.05 KB | rwanth |
| |||
#10 | taxonomy_menu--tests_are_broken_in_8x3x--3107149_10.patch | 6.3 KB | rwanth |
|
Comments
Comment #2
dstolComment #3
Neslee Canil PintoComment #5
Neslee Canil PintoComment #7
dstolComment #8
rwanthI was able to take a look at this today.
The final test, testTranslatedMenuLink, is failing because entity_type.manager's attempt to getStorage for a taxonomy_term fails in TaxonomyMenuMenuLink's getTitle() and getDescription() functions.
@dstol, before I continue can you confirm that you're experiencing the same issues I am?
Comment #9
dstolI think so, it's been a while though. I'm mainly concerned with what the testbot says. If you've got a patch, post it here.
Comment #10
rwanthOkay, so I rolled back from the test branch to dev-master and focused on the existing tests. I've refactored the files to meet PSR-4 standards and updated to use WebAssert. This should pass.
Comment #11
rwanthIMO I think we should resolve this issue and then create another one that outlines requirements for new tests. I made some progress on that front as well, but I left it out of this patch.
Comment #13
dstolAwesome rwanth! Thanks for your very critical contribution!
As for the follow up testing issue, the only real guidance I can give is that tests need to ensure confidence in community patch submissions. I don't think they are there today.
Please do file a follow up for that outstanding test work too.
Comment #14
rwanthLooks like the refactor didn't apply in the commit and just removed the files, let's try that again. :)
Attached should recreate the files in the appropriate directories.
Comment #16
dstolWhoops, thanks for catching that.
Comment #18
DamienMcKenna