Make RequestId non-required (#984)
This commit is contained in:
parent
9e21d3e11d
commit
d540dc1fb1
1 changed files with 2 additions and 20 deletions
|
|
@ -203,7 +203,6 @@ public class StatelessServerTests(ITestOutputHelper outputHelper) : KestrelInMem
|
|||
|
||||
var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => server.SendRequestAsync(new JsonRpcRequest
|
||||
{
|
||||
Id = default,
|
||||
Method = RequestMethods.SamplingCreateMessage
|
||||
}));
|
||||
return ex.Message;
|
||||
|
|
@ -222,7 +221,6 @@ public class StatelessServerTests(ITestOutputHelper outputHelper) : KestrelInMem
|
|||
|
||||
var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => server.SendRequestAsync(new JsonRpcRequest
|
||||
{
|
||||
Id = default,
|
||||
Method = RequestMethods.RootsList
|
||||
}));
|
||||
return ex.Message;
|
||||
|
|
@ -241,7 +239,6 @@ public class StatelessServerTests(ITestOutputHelper outputHelper) : KestrelInMem
|
|||
|
||||
var ex = await Assert.ThrowsAsync<InvalidOperationException>(() => server.SendRequestAsync(new JsonRpcRequest
|
||||
{
|
||||
Id = default,
|
||||
Method = RequestMethods.ElicitationCreate
|
||||
}));
|
||||
return ex.Message;
|
||||
|
|
|
|||
Loading…
Reference in a new issue