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.

Comments

kristiaanvandeneynde created an issue. See original summary.

kristiaanvandeneynde’s picture

Status: Active » Needs review
StatusFileSize
new10.52 KB
new19.32 KB

Maybe the access control handler changes need tests too. But not sure what those might look like.

The last submitted patch, 2: group-3223563-TEST-ONLY-FAIL.patch, failed testing. View results

kristiaanvandeneynde’s picture

Okay, now let's add a simple unit test that checks that the access control handler calls the right plugin code, then backport the tests.

kristiaanvandeneynde’s picture

StatusFileSize
new25.29 KB

This adds unit tests for GroupContentAccessControlHandler to make sure it calls the correct API internally. Will need to be changed when backported.

kristiaanvandeneynde’s picture

Status: Needs review » Fixed

Creating follow-up issue for backporting tests.

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.