Merge pull request #41 from schrom01/feature_plantList_M2

fixed Method getFilteredPlantListByString
This commit is contained in:
gulerdav
2022-10-31 08:01:43 +01:00
committed by GitHub Enterprise
2 changed files with 5 additions and 1 deletions
@@ -173,6 +173,8 @@ class PlantListModelTest {
assertEquals(examplePlantList.get(1), plantListResult.get(0));
plantListResult = model.getFilteredPlantListByString(HardinessZone.ZONE_8A, "apple");
assertEquals(0, plantListResult.size());
plantListResult = model.getFilteredPlantListByString(HardinessZone.ZONE_8A, "");
assertEquals(3, plantListResult.size());
}
@Test