Skip to content

Commit e735c2b

Browse files
Fixing Test
1 parent 63b668a commit e735c2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/java/springboot/ApplicationTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ public class ApplicationTest {
2828
@Test
2929
public void shouldCreate10Products(){
3030
int numberOfProducts = 10;
31-
for (int i = 1; i < numberOfProducts; i++) {
31+
for (int i = 1; i <= numberOfProducts; i++) {
3232
Product testProduct = new Product();
3333
testProduct.setCategory(CATEGORIES);
3434
testProduct.setDescription(DESCRIPTION);

0 commit comments

Comments
 (0)