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.
see details here:
https://www.drupal.org/pift-ci-job/393683
testNodeDisplay
fail: [Other] Line 1160 of sites/all/modules/media/tests/media.test:
Failed to set field fields[e8yjunt5][type] to file_default
Comment | File | Size | Author |
---|---|---|---|
#6 | media-field_test_fix-2792499-6-D7.patch | 1.05 KB | csheltonlcm |
Comments
Comment #2
joseph.olstadComment #3
joseph.olstadComment #4
csheltonlcm CreditAttribution: csheltonlcm at Last Call Media commentedStrange - when the test tries to set the file formatter type for the file field, the response it gets back is "You are not authorized to access this page.". The body tag in the response *does* have the "logged-in" class, however.
Comment #5
joseph.olstadok, so looks like a permission issue, perhaps a dependency permission changed and the permission needs to be added in the setUp.
any help with a patch for the test would be appreciated :)
Comment #6
csheltonlcm CreditAttribution: csheltonlcm at Last Call Media commentedIt looks like Drupal 7.50 added the 'administer fields' permission, and adding this in was enough to fix the tests on my local machine.
Comment #7
joseph.olstadnice work @csheltonlcm
thanks!
Comment #9
joseph.olstadComment #11
joseph.olstad