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:
Michael Buckley 2021-02-05 11:32:48 -05:00
parent eee11c8844
commit 4553ca2708
1 changed files with 1 additions and 1 deletions

View File

@ -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"));
}