Skip to content

Commit cd58d69

Browse files
committed
fix test
1 parent ff76de7 commit cd58d69

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/test/java/io/getstream/CallTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,11 @@ void testGenerateSRTToken() {
312312
void testEndCall() {
313313
String callID = "call-" + RandomStringUtils.randomAlphanumeric(10);
314314
Call testCall = video.call(callType, callID);
315-
Assertions.assertDoesNotThrow(() -> testCall.get());
315+
Assertions.assertDoesNotThrow(() -> testCall.getOrCreate(
316+
GetOrCreateCallRequest.builder().data(
317+
CallRequest.builder().createdByID(testUser.getId()).build()
318+
).build()
319+
));
316320
Assertions.assertDoesNotThrow(() -> testCall.end());
317321
}
318322
}

0 commit comments

Comments
 (0)