(t *testing.T)
| 27 | } |
| 28 | |
| 29 | func TestInstanceKeyroll(t *testing.T) { |
| 30 | testServer(t, func(c *stdsdk.Client, p *structs.MockProvider) { |
| 31 | p.On("InstanceKeyroll").Return(nil) |
| 32 | err := c.Post("/instances/keyroll", stdsdk.RequestOptions{}, nil) |
| 33 | require.NoError(t, err) |
| 34 | }) |
| 35 | } |
| 36 | |
| 37 | func TestInstanceKeyrollError(t *testing.T) { |
| 38 | testServer(t, func(c *stdsdk.Client, p *structs.MockProvider) { |
nothing calls this directly
no test coverage detected