Skip to content
Snippets Groups Projects
Commit b2fb30f0 authored by Felix Reichenbach's avatar Felix Reichenbach
Browse files

OZG-7615 add doc string for property and rename before each test methods

parent b034f9d4
No related branches found
No related tags found
1 merge request!6Ozg 7615 leitfaden link
......@@ -14,6 +14,10 @@ public class DocumentationProperties {
static final String DOCUMENTATION_PROPERTIES_PREFIX = "ozgcloud.user-assistance.documentation";
/*
* Url pointing to the documentation (Benutzerleitfaden fuer die
* Administration).
*/
private String url;
}
......@@ -91,7 +91,7 @@ class RootModelAssemblerTest {
class TestOnHasConfigurationPermission {
@BeforeEach
void hasConfigurationPermission() {
void mock() {
when(currentUserService.hasConfigurationPermission()).thenReturn(true);
when(restProperties.getBasePath()).thenReturn(BASE_PATH);
}
......@@ -108,7 +108,7 @@ class RootModelAssemblerTest {
class TestOnHasNotConfigurationPermission {
@BeforeEach
void hasNotConfigurationPermission() {
void mock() {
when(currentUserService.hasConfigurationPermission()).thenReturn(false);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment