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.
Looks like some URLs got changed at one point to include 'manage', but weren't updated everywhere.
Comment | File | Size | Author |
---|---|---|---|
#5 | 1993992-shortcut-tests.patch | 825 bytes | andypost |
#1 | shortcut-urls-1991092-1.patch | 1.68 KB | David_Rothstein |
Comments
Comment #1
David_Rothstein CreditAttribution: David_Rothstein commentedFound another while looking through the module. Both are fixed in the attached.
I guess in theory this indicates some missing test coverage.
Comment #2
David_Rothstein CreditAttribution: David_Rothstein commentedThough I don't know; a test would only catch this if it used clickLink() and specifically simulated clicking thorough the user interface rather than navigating by URL.
We don't tend to write tests that way too often.
Comment #3
aspilicious CreditAttribution: aspilicious commentedNot sure why this is critical but lets close this one...
Comment #4
catchDon't think this is worth a test. Committed/pushed to 8.x, thanks!
Comment #5
andypostClosed as duplicate #1993992: Edit shortcuts toolbar link broken
Here's a tests
Comment #7
rszrama CreditAttribution: rszrama commentedI don't see what that test gains us, as it simply ensures the shortcut URL hasn't changed since installation. This test wouldn't even start failing if the actual shortcuts path were to be changed again in the future. I agree with the previous comments that this doesn't need a test, as I couldn't find any comparable tests in the codebase.