Skip to content

Commit

Permalink
ASAP-409 불필요 주석 제거
Browse files Browse the repository at this point in the history
  • Loading branch information
tlarbals824 committed Feb 8, 2025
1 parent d05221c commit aeff161
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class SpaceCommandService(

try {
spaceIndexValidator.validate(
spaces = spaces, // todo: space로 수정하기
spaces = spaces,
validateIndex = changeIndexMap,
)
} catch (e: DefaultException.InvalidArgumentException) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import com.asap.bootstrap.web.space.dto.DeleteMultipleSpacesRequest
import com.asap.bootstrap.web.space.dto.UpdateSpaceNameRequest
import com.asap.bootstrap.web.space.dto.UpdateSpaceOrderRequest
import com.asap.domain.common.DomainId
import io.kotest.matchers.collections.shouldContainExactlyInAnyOrder
import io.kotest.matchers.maps.haveValue
import io.kotest.matchers.shouldBe
import io.kotest.matchers.string.haveLength
Expand Down Expand Up @@ -448,11 +449,8 @@ class SpaceApiIntegrationTest(
response.andExpect {
status { isOk() }
}
// TODO: port를 통해 조회하고 검증해야함
// spaceMockManager.getSpaceIndexes(userId) shouldBe
// spaceIndexes
// .map { it.spaceId to it.index }
// .sortedBy { it.second }
val spaceIds = spaceManagementPort.getAllSpaceBy(DomainId(userId)).map { it.id.value }
spaceIds shouldContainExactlyInAnyOrder spaceIndexes.map { it.spaceId }
}

@Test
Expand Down

0 comments on commit aeff161

Please sign in to comment.