Skip to content

Commit

Permalink
Fix implementation bug
Browse files Browse the repository at this point in the history
  • Loading branch information
FelberMartin committed Dec 21, 2024
1 parent 6c6aef5 commit bba5065
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ class ConversationBottomSheetUiTest : BaseChatUITest() {

@Test
fun `test GIVEN a basePost from user WHEN long pressing on another user's answer THEN resolve option is shown`() {
val answerContent = "Answer content"
setupThreadUi(
post = simpleThreadPostWithAnswer(
postAuthor = currentUser,
Expand All @@ -120,7 +119,6 @@ class ConversationBottomSheetUiTest : BaseChatUITest() {

@Test
fun `test GIVEN a basePost from another user WHEN long pressing on another user's answer as tutor THEN resolve option is shown`() {
val answerContent = "Answer content"
setupThreadUi(
post = simpleThreadPostWithAnswer(
postAuthor = otherUser,
Expand All @@ -138,7 +136,6 @@ class ConversationBottomSheetUiTest : BaseChatUITest() {

@Test
fun `test GIVEN a basePost from another user WHEN long pressing on a users answer THEN resolve option is not shown`() {
val answerContent = "Answer content"
setupThreadUi(
post = simpleThreadPostWithAnswer(
postAuthor = otherUser,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ data class AnswerPost(
override val authorId: Long? = author?.id

@Transient
override val parentAuthorId: Long? = author?.id
override val parentAuthorId: Long? = post?.authorId

@Transient
override val serverPostId: Long? = id
Expand Down

0 comments on commit bba5065

Please sign in to comment.