From 25ce90864c313a7564bf15c4df7e7972763f7bb0 Mon Sep 17 00:00:00 2001 From: Fabian Petersen Date: Fri, 24 Jun 2022 16:02:34 +0200 Subject: [PATCH] Fix the file path and remove a println --- Dockerfile | 2 +- Dockerfile_dev | 2 +- .../de/hsfl/budgetBinder/server/entries/DeleteEntryTests.kt | 3 --- 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/Dockerfile b/Dockerfile index 1cd757c0..0dc5ab0d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,7 +8,7 @@ RUN mkdir -p /app/data && mkdir -p /app/public WORKDIR /app VOLUME /app/data -COPY --from=build /home/gradle/src/budget-binder-server/files /app/public/ +COPY --from=build /home/gradle/src/budget-binder-server/public /app/public/ COPY --from=build /home/gradle/src/budget-binder-multiplatform-app/build/distributions/ /app/public/ COPY --from=build /home/gradle/src/budget-binder-server/build/libs/*.jar /app/ktor-docker-server.jar diff --git a/Dockerfile_dev b/Dockerfile_dev index b5b8f2f6..15caf9a5 100644 --- a/Dockerfile_dev +++ b/Dockerfile_dev @@ -8,7 +8,7 @@ RUN mkdir -p /app/data && mkdir -p /app/public WORKDIR /app VOLUME /app/data -COPY --from=build /home/gradle/src/budget-binder-server/files /app/public/ +COPY --from=build /home/gradle/src/budget-binder-server/public /app/public/ COPY --from=build /home/gradle/src/budget-binder-multiplatform-app/build/distributions/ /app/public/ COPY --from=build /home/gradle/src/budget-binder-server/build/libs/*.jar /app/ktor-docker-server.jar diff --git a/budget-binder-server/src/test/kotlin/de/hsfl/budgetBinder/server/entries/DeleteEntryTests.kt b/budget-binder-server/src/test/kotlin/de/hsfl/budgetBinder/server/entries/DeleteEntryTests.kt index 3f38e475..697801c3 100644 --- a/budget-binder-server/src/test/kotlin/de/hsfl/budgetBinder/server/entries/DeleteEntryTests.kt +++ b/budget-binder-server/src/test/kotlin/de/hsfl/budgetBinder/server/entries/DeleteEntryTests.kt @@ -109,9 +109,6 @@ class DeleteEntryTests { @Test fun testDeleteEntryRepeatNew() = customTestApplicationWithLogin { client -> - println(transaction { EntryEntity.all().toList().map { it.toDto() } }) - - val id = transaction { EntryEntity.all().first().id.value + 3 } client.sendAuthenticatedRequest(HttpMethod.Delete, "/entries/$id") { response ->