Fix comment voter

This commit is contained in:
flecomte committed 2020-03-18 00:51:42 +01:00
1 parent 118193210b
commit a99eaf3eef
4 files changed
+18 -19

No files matched your search

+1 -1
View File
@@ -82,7 +82,7 @@ class ArticleSteps : En, KoinTest {
("$firstName-$lastName".toLowerCase()).toLowerCase().replace(' ', '-')
) ?: error("Citizen not exist")
val comment: CommentEntity<ArticleRef> = CommentEntity(
val comment: CommentEntity<ArticleEntity> = CommentEntity(
id = id ?: params?.get("id")?.let { UUID.fromString(it) } ?: UUID.randomUUID(),
createdBy = citizen,
target = article,