- 🇺🇸United States smustgrave
This came up as a daily bugsmash target. Looking at #5 since simpletest has been removed is this still an issue?
When simpletest was removed https://www.drupal.org/node/3091784 →
- Status changed to Needs work
6 months ago 12:41am 19 June 2024 - 🇦🇺Australia acbramley
- First commit to issue fork.
- Merge request !8919Issue #2234295: drupalLogin() crashes where it should fail → (Open) created by magaki
- Status changed to Needs review
5 months ago 7:04am 25 July 2024 - Status changed to Postponed: needs info
5 months ago 11:14pm 25 July 2024 - 🇦🇺Australia acbramley
Now that I'm actually manually testing the scenario described in the IS I don't think this is a valid bug anymore (see my comment on the MR).
Perhaps at the time this issue was created, we didn't call
$this->fail()
insidecheckPermissions
OR as per #32 phpunit halts execution on a fail.Since we fail when there's an invalid permission, the original issue in the IS does not happen because drupalLogin is never called when an invalid permission is passed through.
Settintg to PMNMI to see if there's other scenarios that we need to account for.