Skip to content

Commit 2b5c95c

Browse files
author
Gerrit Garbereder
committed
Fix tests
1 parent 517575e commit 2b5c95c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Task-Tracker-Entities/src/commonTest/kotlin/com/garbereder/tasktracker/entities/ActivityNotFoundExceptionTests.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ class ActivityNotFoundExceptionTests {
88
@Test
99
fun testMessage() {
1010
val task = Task("TaskName")
11-
val duration = 60
11+
val duration = 60L
1212
val activity = Activity(duration, task)
1313
val ex = ActivityNotFoundException(activity)
1414
assertEquals("Could not find activity: Activity(durationInSeconds=$duration, task=$task)", ex.message)

0 commit comments

Comments
 (0)