Final Commit (Maybe)
This commit is contained in:
parent
ea3a05fca6
commit
cae356d4c6
@ -1,5 +1,5 @@
|
|||||||
FROM eclipse-temurin:21
|
FROM eclipse-temurin:21
|
||||||
LABEL authors="indx"
|
LABEL authors="indx"
|
||||||
|
|
||||||
COPY ./build/libs/S-QR-Backend-1.0.0-RELEASE.jar /opt/app/
|
COPY ./build/libs/S-Pass-Backend-1.0.0-RELEASE.jar /opt/app/
|
||||||
CMD ["java", "-jar", "/opt/app/S-QR-Backend-1.0.0-RELEASE.jar"]
|
CMD ["java", "-jar", "/opt/app/S-Pass-Backend-1.0.0-RELEASE.jar"]
|
@ -42,7 +42,7 @@ class EmployeeControllerTests {
|
|||||||
void doorOpen() throws Exception {
|
void doorOpen() throws Exception {
|
||||||
this.mockMvc.perform(
|
this.mockMvc.perform(
|
||||||
patch("/api/employee/open")
|
patch("/api/employee/open")
|
||||||
.param("code", "1234567890123456789")
|
.param("code", "820962709643279872")
|
||||||
.with(httpBasic("pivanov", "HelloWorld1234")))
|
.with(httpBasic("pivanov", "HelloWorld1234")))
|
||||||
.andDo(print())
|
.andDo(print())
|
||||||
.andExpect(status().isOk());
|
.andExpect(status().isOk());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user