Final Commit (Maybe)

This commit is contained in:
Индекс Зиро 2025-02-20 16:19:54 +03:00
parent ea3a05fca6
commit cae356d4c6
2 changed files with 3 additions and 3 deletions

View File

@ -1,5 +1,5 @@
FROM eclipse-temurin:21
LABEL authors="indx"
COPY ./build/libs/S-QR-Backend-1.0.0-RELEASE.jar /opt/app/
CMD ["java", "-jar", "/opt/app/S-QR-Backend-1.0.0-RELEASE.jar"]
COPY ./build/libs/S-Pass-Backend-1.0.0-RELEASE.jar /opt/app/
CMD ["java", "-jar", "/opt/app/S-Pass-Backend-1.0.0-RELEASE.jar"]

View File

@ -42,7 +42,7 @@ class EmployeeControllerTests {
void doorOpen() throws Exception {
this.mockMvc.perform(
patch("/api/employee/open")
.param("code", "1234567890123456789")
.param("code", "820962709643279872")
.with(httpBasic("pivanov", "HelloWorld1234")))
.andDo(print())
.andExpect(status().isOk());