We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 63b668a commit e735c2bCopy full SHA for e735c2b
src/test/java/springboot/ApplicationTest.java
@@ -28,7 +28,7 @@ public class ApplicationTest {
28
@Test
29
public void shouldCreate10Products(){
30
int numberOfProducts = 10;
31
- for (int i = 1; i < numberOfProducts; i++) {
+ for (int i = 1; i <= numberOfProducts; i++) {
32
Product testProduct = new Product();
33
testProduct.setCategory(CATEGORIES);
34
testProduct.setDescription(DESCRIPTION);
0 commit comments