Skip to content
Snippets Groups Projects
Commit c5d234e1 authored by Stian Lyng's avatar Stian Lyng
Browse files

add url to test

parent dddba73b
No related branches found
No related tags found
No related merge requests found
......@@ -33,8 +33,8 @@ class WeeklyMenuServiceTest {
void testGetWeeklyMenu() {
long fridgeId = 1L;
Object[] row1 = new Object[] {1, "Recipe 1", "Description 1", 10L};
Object[] row2 = new Object[] {2, "Recipe 2", "Description 2", 15L};
Object[] row1 = new Object[] {1, "Recipe 1", "Description 1","url1", 10L};
Object[] row2 = new Object[] {2, "Recipe 2", "Description 2", "url2", 15L};
List<Object[]> rawData = Arrays.asList(row1, row2);
when(recipeRepository.findWeeklyMenu(fridgeId)).thenReturn(rawData);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment