mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-16 02:06:18 +01:00
fix test
This commit is contained in:
@@ -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");
|
||||||
|
|||||||
Reference in New Issue
Block a user