Skip to content

Commit d2ee34b

Browse files
committed
fix: non null assertion
1 parent a4753cf commit d2ee34b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/app/src/test/kotlin/io/tolgee/api/v2/controllers/translations/v2TranslationsController/TranslationsControllerHistoryTest.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ class TranslationsControllerHistoryTest : ProjectAuthControllerTest("/v2/project
119119
translationService.find(emptyKey, lang).get()
120120
}
121121

122-
performProjectAuthGet("/translations/${translation.id}/history").andPrettyPrint.andAssertThatJson {
122+
performProjectAuthGet("/translations/${translation!!.id}/history").andPrettyPrint.andAssertThatJson {
123123
node("page.totalElements").isEqualTo(0)
124124
}
125125
}

0 commit comments

Comments
 (0)