mirror of
https://github.com/nsacyber/HIRS.git
synced 2025-01-27 23:00:39 +00:00
put correct port back in application.properties; removed * from imports in IssuedCertificatesPageControllerTest
This commit is contained in:
parent
47ca5d90d7
commit
cc5db6e3ed
@ -26,7 +26,7 @@ server.tomcat.accesslog.suffix=.log
|
||||
server.tomcat.accesslog.rotate=true
|
||||
|
||||
# Tomcat TLS support
|
||||
server.port=8449
|
||||
server.port=8443
|
||||
server.ssl.enabled=true
|
||||
server.ssl.trust-store-type=JKS
|
||||
server.ssl.trust-store=/etc/hirs/certificates/HIRS/TrustStore.jks
|
||||
|
@ -21,7 +21,10 @@ import org.springframework.test.annotation.Rollback;
|
||||
import org.springframework.test.web.servlet.request.MockMvcRequestBuilders;
|
||||
import static hirs.attestationca.portal.page.Page.ISSUED_CERTIFICATES;
|
||||
import static org.hamcrest.Matchers.hasSize;
|
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.*;
|
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content;
|
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.header;
|
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.jsonPath;
|
||||
import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;
|
||||
|
||||
|
||||
/**
|
||||
@ -135,7 +138,7 @@ public class IssuedCertificatesPageControllerTest extends PageControllerTest {
|
||||
@Rollback
|
||||
public void getIssuedCertsList() throws Exception {
|
||||
|
||||
// // perform test
|
||||
// perform test
|
||||
// getMockMvc().perform(MockMvcRequestBuilders.get(pagePath + "/list"))
|
||||
// .andExpect(status().isOk())
|
||||
// .andExpect(jsonPath("$.data", hasSize(1)))
|
||||
|
Loading…
x
Reference in New Issue
Block a user