Fix unit test

This commit is contained in:
aboyko
2024-11-25 19:07:02 -05:00
parent 23a993f3e5
commit 01c4cf9844

View File

@@ -35,7 +35,7 @@ public class RewriteRecipeRepositoryTest {
@Test
void listSubRecipe() throws Exception {
List<Recipe> recipes = recipeRepo.getSubRecipes("org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_1", List.of()).get();
assertEquals(10, recipes.size());
assertEquals(11, recipes.size());
recipes = recipeRepo.getSubRecipes("org.openrewrite.java.spring.boot3.UpgradeSpringBoot_3_1", List.of(0, 2)).get();
assertEquals(20, recipes.size());