put correct port back in application.properties; removed * from imports in IssuedCertificatesPageControllerTest

This commit is contained in:
iadgovuser58 2024-03-27 16:37:44 -04:00
parent 47ca5d90d7
commit cc5db6e3ed
2 changed files with 6 additions and 3 deletions

View File

@ -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

View File

@ -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)))