Skip to content

Commit b348095

Browse files
committed
docs,tests: update security analysis link, remove unused parameters from tests
Signed-off-by: Mart Somermaa <[email protected]>
1 parent 25b7050 commit b348095

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

example/src/main/resources/templates/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ <h3><a id="documentation"></a>Documentation</h3>
170170
</p>
171171
<p>
172172
Security analysis of the solution is available
173-
<a href="https://web-eid.gitlab.io/analysis/webextensions-main.pdf">in this document</a>.
173+
<a href="https://web-eid.github.io/web-eid-cybernetica-analysis/webextensions-main.pdf">in this document</a>.
174174
</p>
175175
<hr/>
176176
<h3><a id="for-developers"></a>For developers</h3>

example/src/test/java/eu/webeid/example/WebApplicationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ public static MockMultipartFile mockMultipartFile() {
125125
response = HttpHelper.sign(mvcBuilder, session, ObjectMother.mockSignRequest(digestDTO.getHash()));
126126
assertEquals(HttpStatus.OK.value(), response.getStatus());
127127

128-
response = HttpHelper.download(mvcBuilder, session, ObjectMother.mockSignRequest(digestDTO.getHash()));
128+
response = HttpHelper.download(mvcBuilder, session);
129129
assertEquals(HttpStatus.OK.value(), response.getStatus());
130130
assertEquals("attachment; filename=example-for-signing.asice", response.getHeader("Content-Disposition"));
131131
}

example/src/test/java/eu/webeid/example/testutil/HttpHelper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ public static MockHttpServletResponse sign(DefaultMockMvcBuilder mvcBuilder, Moc
9292
// @formatter:on
9393
}
9494

95-
public static MockHttpServletResponse download(DefaultMockMvcBuilder mvcBuilder, MockHttpSession session, SignatureDTO mockSignRequest) throws Exception {
95+
public static MockHttpServletResponse download(DefaultMockMvcBuilder mvcBuilder, MockHttpSession session) throws Exception {
9696
// @formatter:off
9797
return mvcBuilder
9898
.build()

0 commit comments

Comments
 (0)