There are some bugs somewhere that are causing the current tests to fail.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | metatag-n2684495-5.patch | 7.57 KB | damienmckenna |
There are some bugs somewhere that are causing the current tests to fail.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | metatag-n2684495-5.patch | 7.57 KB | damienmckenna |
Comments
Comment #2
damienmckennaNever mind, it was just a false negative caused by a random "userLogin() didn't login" error, I reran the tests and all is well:
Comment #3
damienmckennaThe tests work locally but testbot is failing:
Comment #4
mikeyk commentedBeen working on this - The issue seems to be that Tokens are not being translated properly. Despite $langcode being passed to the replace() function in MetatagManager.php, the code in MetatagToken.php never actually passed it onto the replace function in Token.
Patch attached which fixes this and now MetatagTranslationTest passes on my local machine. Hopefully this resolves this issue!
Comment #5
damienmckenna@mikeyk: Thanks for catching that bug. I did some tweaking on the tests too, this is what I'm probably going to go with.
Comment #6
damienmckennaCommitted. Thanks!