Commit 6fdf8c65 authored by Piotr Gawron's avatar Piotr Gawron
Browse files

doc for downloadSource of data overlay API call

parent 3e850734
......@@ -822,10 +822,13 @@ public class OverlayControllerIntegrationTest extends ControllerIntegrationTest
MockHttpSession session = createSession(BUILT_IN_TEST_ADMIN_LOGIN, BUILT_IN_TEST_ADMIN_PASSWORD);
RequestBuilder request = get("/projects/" + TEST_PROJECT + "/overlays/" + overlay.getId() + ":downloadSource")
.session(session);
RequestBuilder request = get("/projects/{projectId}/overlays/{overlayId}:downloadSource", TEST_PROJECT,
overlay.getId())
.session(session);
mockMvc.perform(request)
.andDo(document("projects/project_overlays/download_source",
getOverlayPathParameters()))
.andExpect(status().is2xxSuccessful());
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment