Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
We're running Simpletest with a custom install profile (which is an edge case, I know) and the static in install_get_rid() is breaking DrupalWebTestCase::setUp(). When we run setUp() for the second time and our install profile runs, it tries to add a role using install_get_role(), but it fails because install_get_rid() is reporting that the role already exists.
Comment | File | Size | Author |
---|---|---|---|
#2 | 1885738-2.static.patch | 518 bytes | ksenzee |
#1 | 1885738-1.static.patch | 517 bytes | ksenzee |
Comments
Comment #1
ksenzeeOne approach would be to just get rid of the static as probably unnecessary optimization, but here's a patch that lets it be reset instead.
Comment #2
ksenzeeEr, disregard that last patch. Clearly need more sleep. $reset parameter should default to FALSE.