Skip to content

Commit

Permalink
tag 전체 조회 응답값에 memberId를 제거한다
Browse files Browse the repository at this point in the history
  • Loading branch information
anjeongkyun committed Nov 12, 2023
1 parent ce6345b commit dc4f718
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,5 @@ package org.tagwonder.queries

data class TagContract(
val id: Long,
val title: String,
val memberId: Long
val title: String
)
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@ class GetTagsQueryProcessor(
.map {
TagContract(
id = it.id!!,
title = it.title,
memberId = it.memberId
title = it.title
) }
)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ class SpecsGetTagsQueryProcessor(
actual.forEach { actualData ->
assertThat(actualData.id).isNotNull
assertThat(actualData.title).isEqualTo(expectedTitle)
assertThat(actualData.memberId).isEqualTo(expectedMemberId)
}
}

Expand Down

0 comments on commit dc4f718

Please sign in to comment.