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.
Because the SimpleTest tests do not use the Discogs.com OAuth key/secret, many of the tests fail. This should be fixed so that TDD can continue.
Comment | File | Size | Author |
---|---|---|---|
#4 | 0001-Issue-2496799-by-Karlheinz-Modify-tests-to-use-Disco.patch | 1.2 KB | Karlheinz |
#2 | Issue-2496799-by-Karlheinz-Modify-tests-to-use-Disco.patch | 4.44 KB | Karlheinz |
Comments
Comment #2
Karlheinz CreditAttribution: Karlheinz commentedFixed, pushed, and patch included. I will keep this issue open for a little while in case more of the tests need to be modified.
Comment #4
Karlheinz CreditAttribution: Karlheinz commentedSpoke too soon... I put the keys into a file called
discogs_prov.test.inc
, so that they weren't hard-coded into the test itself. This file will not be added to the repo. Anyone else who wants to use the tests (which, who am I kidding, is nobody) will need to create one of their own.This is the contents of that file (with keys redacted):
Patch is also attached.