We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eecfd65 commit d30f9c7Copy full SHA for d30f9c7
native/kotlin/api/kotlin/src/integrationTest/kotlin/PostTypesEndpointTest.kt
@@ -26,7 +26,7 @@ class PostTypesEndpointTest {
26
val postTypesPost = client.request { requestBuilder ->
27
requestBuilder.postTypes().retrieveWithEditContext(PostType.Post)
28
}.assertSuccessAndRetrieveData().data
29
- assert(postTypesPost.supports.map[PostTypeSupports.Title]!!)
+ assert(postTypesPost.supports.map[PostTypeSupports.Title]!!.asJsonBool()!!)
30
assertFalse(postTypesPost.capabilities[PostTypeCapabilities.EditPosts]!!.isEmpty())
31
}
32
0 commit comments