Closed (fixed)
Project:
Group
Version:
2.0.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
14 Jul 2021 at 10:10 UTC
Updated:
28 Jul 2021 at 14:19 UTC
Jump to comment: Most recent, Most recent file
I noticed during the plugin changes I forgot to change these access checks and yet all tests remained green. Let's fix that and then backport the new tests to 8.x-1.x.
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | group-3223563-5.patch | 25.29 KB | kristiaanvandeneynde |
Comments
Comment #2
kristiaanvandeneyndeMaybe the access control handler changes need tests too. But not sure what those might look like.
Comment #4
kristiaanvandeneyndeOkay, now let's add a simple unit test that checks that the access control handler calls the right plugin code, then backport the tests.
Comment #5
kristiaanvandeneyndeThis adds unit tests for GroupContentAccessControlHandler to make sure it calls the correct API internally. Will need to be changed when backported.
Comment #7
kristiaanvandeneyndeCreating follow-up issue for backporting tests.