- Issue created by @gisle
- 🇳🇴Norway gisle Norway
I am trying to use the GitLab CI testing framework. So far without success. I've asked for support in the Forums, please see: https://www.drupal.org/forum/support/module-development-and-code-questio... →
- Assigned to steven jones
- 🇬🇧United Kingdom steven jones
Trying to get the Gitlab CI testing framework working is a great idea, however, I'm going to take some time to have a quick look at trying to get tests running in the old runner.
Currently they are failing with the following error:
PHP Parse error: syntax error, unexpected variable "$this", expecting "function" or "const" in /var/www/html/modules/contrib/content_access/tests/src/Functional/ContentAccessTinyTest.php on line 168
-
Steven Jones →
committed 701fb5ff on 2.0.x
Issue #3384330: Test with Drupal 9 core.
-
Steven Jones →
committed 701fb5ff on 2.0.x
- 🇬🇧United Kingdom steven jones
The tests are running, and the output is consistent between the old and new systems.
So now we can fix the actual tests.
- 🇬🇧United Kingdom steven jones
Here's why the tests are failing, when we're adding the user to the list of users that are allowed to view/edit/delete specifically for ACL.
Error message
Invalid user specified.
I've attached the full output with the error.
Looks like if we fix the that, we'll fix the tests!
-
Steven Jones →
committed 0c612983 on 2.0.x
Issue #3384330: Attempt to fix the failing tests. Looks like we needed...
-
Steven Jones →
committed 0c612983 on 2.0.x
-
Steven Jones →
committed 878c110d on 2.0.x
Issue #3384330: Add the missing space.
-
Steven Jones →
committed 878c110d on 2.0.x
-
Steven Jones →
committed b40bc124 on 2.0.x
Issue #3384330: And fix another broken test.
-
Steven Jones →
committed b40bc124 on 2.0.x
- Status changed to Fixed
about 1 year ago 10:01am 6 September 2023 Automatically closed - issue fixed for 2 weeks with no activity.