parent
772195b5e6
commit
be6e47391f
1 changed files with 19 additions and 22 deletions
|
|
@ -144,7 +144,7 @@ class ClientTest {
|
|||
client.connect(clientTransport)
|
||||
assertEquals(
|
||||
Implementation("test", "1.0"),
|
||||
client.getServerVersion()
|
||||
client.serverVersion
|
||||
)
|
||||
}
|
||||
|
||||
|
|
@ -250,7 +250,7 @@ class ClientTest {
|
|||
).joinAll()
|
||||
|
||||
// Server supports resources and tools, but not prompts
|
||||
val caps = client.getServerCapabilities()
|
||||
val caps = client.serverCapabilities
|
||||
assertEquals(ServerCapabilities.Resources(null, null), caps?.resources)
|
||||
assertEquals(ServerCapabilities.Tools(null), caps?.tools)
|
||||
assertTrue(caps?.prompts == null) // or check that prompts are absent
|
||||
|
|
|
|||
Loading…
Reference in a new issue