This commit is contained in:
Eduard Heimbuch
2019-08-01 11:53:08 +02:00
parent c7f5ae6bc7
commit b102c19f5f

View File

@@ -128,6 +128,11 @@ class InstalledPluginResourceTest {
@Nested @Nested
class WithoutAuthorization { class WithoutAuthorization {
@BeforeEach
void unbindSubject() {
ThreadContext.unbindSubject();
}
@Test @Test
void shouldNotGetInstalledPluginsIfMissingPermission() throws URISyntaxException { void shouldNotGetInstalledPluginsIfMissingPermission() throws URISyntaxException {
MockHttpRequest request = MockHttpRequest.get("/v2/plugins/installed"); MockHttpRequest request = MockHttpRequest.get("/v2/plugins/installed");