SetExpectedStatusCode override the expected status code of the next API call. If it's anything but this, the test will fail.
(code int)
| 199 | |
| 200 | // SetExpectedStatusCode override the expected status code of the next API call. If it's anything but this, the test will fail. |
| 201 | func (d *DevlakeClient) SetExpectedStatusCode(code int) *DevlakeClient { |
| 202 | d.expectedStatusCode = code |
| 203 | return d |
| 204 | } |
| 205 | |
| 206 | // SetExpectedStatusCode return the last http status code |
| 207 | func (d *DevlakeClient) LastReturnedStatusCode() int { |
no outgoing calls