Package pro.taskana.common.test.doc.api
Class BaseRestDocumentation
- java.lang.Object
-
- pro.taskana.common.test.doc.api.BaseRestDocumentation
-
@AutoConfigureMockMvc @AutoConfigureRestDocs @Import(pro.taskana.common.test.doc.api.BaseRestDocumentation.ResultHandlerConfiguration.class) public abstract class BaseRestDocumentation extends Object
Base class for Rest Documentation tests.
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringADMIN_CREDENTIALSprotected org.springframework.web.context.WebApplicationContextcontextprotected org.springframework.test.web.servlet.MockMvcmockMvcprotected intportprotected RestHelperrestHelperprotected static StringTEAMLEAD_1_CREDENTIALS
-
Constructor Summary
Constructors Constructor Description BaseRestDocumentation()
-
-
-
Field Detail
-
ADMIN_CREDENTIALS
protected static String ADMIN_CREDENTIALS
-
TEAMLEAD_1_CREDENTIALS
protected static String TEAMLEAD_1_CREDENTIALS
-
port
@LocalServerPort protected int port
-
context
@Autowired protected org.springframework.web.context.WebApplicationContext context
-
mockMvc
@Autowired protected org.springframework.test.web.servlet.MockMvc mockMvc
-
restHelper
@Autowired protected RestHelper restHelper
-
-