Skip to content

Commit a82adfd

Browse files
committed
fix(tests): fix file test
1 parent e7ada89 commit a82adfd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

openai-java-core/src/test/kotlin/com/openai/models/containers/files/FileCreateParamsTest.kt

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,9 +72,7 @@ internal class FileCreateParamsTest {
7272
InputStream::class.java,
7373
)
7474
.isEqualTo(
75-
mapOf().mapValues { (_, field) ->
76-
field.map { (it as? ByteArray)?.inputStream() ?: it }
77-
}
75+
mapOf<String, MultipartField<*>>()
7876
)
7977
}
8078
}

0 commit comments

Comments
 (0)