From 43b19bae72cb3a3dba91495507a0d5a3dfffddd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20Kleinb=C3=B6lting?= Date: Fri, 14 Jun 2024 11:02:24 +0200 Subject: [PATCH] fmt --- .../src/test/scala/org/knora/webapi/E2EZSpec.scala | 1 + .../scala/org/knora/webapi/ProjectEraseIT.scala | 13 +++++++------ .../admin/domain/service/KnoraUserService.scala | 1 + 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/integration/src/test/scala/org/knora/webapi/E2EZSpec.scala b/integration/src/test/scala/org/knora/webapi/E2EZSpec.scala index 126a5e04da..89062b423d 100644 --- a/integration/src/test/scala/org/knora/webapi/E2EZSpec.scala +++ b/integration/src/test/scala/org/knora/webapi/E2EZSpec.scala @@ -11,6 +11,7 @@ import zio.json.* import zio.json.ast.Json import zio.json.ast.JsonCursor import zio.test.* + import org.knora.webapi.core.AppServer import org.knora.webapi.core.LayersTest import org.knora.webapi.core.TestStartupUtils diff --git a/integration/src/test/scala/org/knora/webapi/ProjectEraseIT.scala b/integration/src/test/scala/org/knora/webapi/ProjectEraseIT.scala index cc089b2eff..ad50af76c1 100644 --- a/integration/src/test/scala/org/knora/webapi/ProjectEraseIT.scala +++ b/integration/src/test/scala/org/knora/webapi/ProjectEraseIT.scala @@ -1,4 +1,11 @@ package org.knora.webapi +import zio.ZIO +import zio.http.Response +import zio.http.Status +import zio.test.Spec +import zio.test.TestAspect +import zio.test.assertTrue + import dsp.valueobjects.LanguageCode import org.knora.webapi.messages.store.triplestoremessages.StringLiteralV2 import org.knora.webapi.slice.admin.api.GroupsRequests.GroupCreateRequest @@ -25,12 +32,6 @@ import org.knora.webapi.slice.admin.domain.model.Username import org.knora.webapi.slice.admin.domain.service.KnoraGroupService import org.knora.webapi.slice.admin.domain.service.KnoraProjectService import org.knora.webapi.slice.admin.domain.service.KnoraUserService -import zio.ZIO -import zio.http.Response -import zio.http.Status -import zio.test.Spec -import zio.test.TestAspect -import zio.test.assertTrue object ProjectEraseIT extends E2EZSpec { diff --git a/webapi/src/main/scala/org/knora/webapi/slice/admin/domain/service/KnoraUserService.scala b/webapi/src/main/scala/org/knora/webapi/slice/admin/domain/service/KnoraUserService.scala index 8ee271e397..2f4b7af7ba 100644 --- a/webapi/src/main/scala/org/knora/webapi/slice/admin/domain/service/KnoraUserService.scala +++ b/webapi/src/main/scala/org/knora/webapi/slice/admin/domain/service/KnoraUserService.scala @@ -11,6 +11,7 @@ import zio.Task import zio.UIO import zio.ZIO import zio.ZLayer + import dsp.errors.DuplicateValueException import dsp.valueobjects.LanguageCode import org.knora.webapi.responders.IriService