-
Type:
Suggestion
-
Resolution: Fixed
-
Component/s: Connect Platform, Ecosystem
The confluence content rest api was changed to return a 403 rather than a 404 if the user was not authorized: https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence/pull-requests/3365/overview. As a result, TestCustomContentDefaultPermission and TestCustomContentRestriction both started failing against the connect confluence snapshot builds because the rest client threw an exception where we were expecting it to return null. The tests were changed as part of ACDEV-3216 to expect either, so the snapshot build and develop build could both be green. When the rest changes reach confluence prod, these tests can be changed to strictly expect an exception, and fail otherwise.