review correction

This commit is contained in:
Anshul BANSAL 2020-01-22 15:10:33 +02:00
parent 15f3c94023
commit 6bf3d238b6
1 changed files with 2 additions and 2 deletions

View File

@ -24,7 +24,7 @@ public class RestClientTest {
@Test
public void testSuite() {
//run the test only when liberty server is started
this.whenConsumeWithJsonb_thenGetPerson();
//this.whenConsumeWithJsonb_thenGetPerson();
}
public void whenConsumeWithJsonb_thenGetPerson() {
@ -32,7 +32,7 @@ public class RestClientTest {
String result = RestConsumer.consumeWithJsonb(url);
Person person = JsonbBuilder.create().fromJson(result, Person.class);
assert person.getId() == 1;
assertEquals(person.getId(), 1);
assertEquals(person.getUsername(), "normanlewis");
assertEquals(person.getEmail(), "normanlewis@email.com");
}