Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
trunk
-
Ubuntu, 16.04 LTS
-
Patch
Description
The tests in ViewInstanceResourceProviderTest, ViewPermissionResourceProviderTest, and ViewURLResourceProviderTest rely on a ViewRegistry that is set up in a static initializer block. However, if the another test sets the ViewRegistry after the class is initialized, then the test class will use the wrong ViewRegistry and fail, despite there being no changes in code. This can be fixed by setting the ViewRegistry in the @Before method in each of the three test classes as shown in the pull request.
Attachments
Issue Links
- links to