Fix expected error code.
500 is a server error. 0 is a failed connection. This should be a server error.
This commit is contained in:
parent
eee11c8844
commit
4553ca2708
|
@ -436,7 +436,7 @@ public class GenericClientTest {
|
|||
.encodedJson()
|
||||
.execute();
|
||||
} catch (FhirClientConnectionException e) {
|
||||
assertEquals(0, e.getStatusCode());
|
||||
assertEquals(500, e.getStatusCode());
|
||||
assertThat(e.getMessage(), containsString("Failed to parse response from server when performing DELETE to URL"));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue