This is a simple test case to ensure that the regcode settings form may be accessed only by users with the correct permissions. This is meant to be a first test case to provide the code framework and an example for future tests.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3225738-2-functional-test.patch | 2.3 KB | tr |
Issue fork regcode-3225738
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
tr commentedComment #4
tr commentedVery interesting. The test works fine on my local system, but fails on DrupalCI. This seems to be due to the encoding on the database, and is the exact problem pointed out in #3057418: SQLSTATE[42000]: Syntax error or access violation. Evidently we need to finish fixing that other issue in order for regcode tests to work on DrupalCI.
Comment #5
tr commentedComment #6
tr commentedMoved to 2.0.x and opened an MR for testing on GitLab CI.
Comment #8
tr commentedWell the patch from #2 works on GitLab CI running Drupal 10 or Drupal 11. That's good enough for me.
#3057418: SQLSTATE[42000]: Syntax error or access violation is still an issue, but it least it doesn't have to block this too.
Comment #11
tr commented