Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ void setUp() {
}

@Test
void tesListBeersByStyleAndNameShowInventoryTrue() throws Exception {
void testListBeersByStyleAndNameShowInventoryTrue() throws Exception {
mockMvc.perform(get(BeerController.BEER_PATH)
.queryParam("beerName", "IPA")
.queryParam("beerStyle", BeerStyle.IPA.name())
Expand All @@ -69,7 +69,7 @@ void tesListBeersByStyleAndNameShowInventoryTrue() throws Exception {
}

@Test
void tesListBeersByStyleAndNameShowInventoryFalse() throws Exception {
void testListBeersByStyleAndNameShowInventoryFalse() throws Exception {
mockMvc.perform(get(BeerController.BEER_PATH)
.queryParam("beerName", "IPA")
.queryParam("beerStyle", BeerStyle.IPA.name())
Expand All @@ -89,15 +89,15 @@ void tesListBeersByStyleAndName() throws Exception {
}

@Test
void tesListBeersByStyle() throws Exception {
void testListBeersByStyle() throws Exception {
mockMvc.perform(get(BeerController.BEER_PATH)
.queryParam("beerStyle", BeerStyle.IPA.name()))
.andExpect(status().isOk())
.andExpect(jsonPath("$.size()", is(548)));
}

@Test
void tesListBeersByName() throws Exception {
void testListBeersByName() throws Exception {
mockMvc.perform(get(BeerController.BEER_PATH)
.queryParam("beerName", "IPA"))
.andExpect(status().isOk())
Expand Down