In #412 which is the PR for #411, we had failing tests due to the line breaks being in the output messages that the tests were comparing against.
Roles Commands
✘ Role add permission command works
│
│ Failed asserting that '\n
│ ✔ The 'example' role has the following permissions granted: 'administer block \n
│ s' \n
│ \n
│ ' contains "The 'example' role has the following permissions granted: 'administer blocks'".
│
│ /app/tests/backdrop/RolesCommandsTest.php:42
│
✘ Role remove permission command works
│
│ Failed asserting that '\n
│ ✘ The 'administer comment settings' permission has not be granted! \n
│ \n
│ ' contains "The 'example' role has the following permissions granted:".
│
│ /app/tests/backdrop/RolesCommandsTest.php:52
│
The tests passed locally so something is happening in the virtual terminal in the GitHub Action. A bit of research suggests the width is set to be 80 characters, so increasing this might be a sticking plaster for this issue.
In #412 which is the PR for #411, we had failing tests due to the line breaks being in the output messages that the tests were comparing against.
The tests passed locally so something is happening in the virtual terminal in the GitHub Action. A bit of research suggests the width is set to be 80 characters, so increasing this might be a sticking plaster for this issue.