Skip to content

Commit 70c2c74

Browse files
committed
Update unit-test for new side-effect/now behavior
Signed-off-by: Greg Haskins <[email protected]>
1 parent 08ecbfb commit 70c2c74

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/temporal/test/side_effect.clj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
[temporal.workflow :refer [defworkflow]]
88
[temporal.side-effect :as side-effect]
99
[temporal.test.utils :as t])
10-
(:import [java.time LocalTime]))
10+
(:import [java.time Instant]))
1111

1212
(use-fixtures :once t/wrap-service)
1313

@@ -20,4 +20,4 @@
2020
(testing "Verifies that we can round-trip through start"
2121
(let [workflow (t/create-workflow side-effect-workflow)]
2222
(c/start workflow {})
23-
(is (instance? LocalTime @(c/get-result workflow))))))
23+
(is (instance? Instant @(c/get-result workflow))))))

0 commit comments

Comments
 (0)