Skip to content

Commit 8d360f4

Browse files
committed
updated readme
1 parent 76599e3 commit 8d360f4

File tree

3 files changed

+22
-25
lines changed

3 files changed

+22
-25
lines changed

.idea/workspace.xml

Lines changed: 20 additions & 23 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ We want to sort the attributes by their names (alphabetical - case sensitive).
7575
#### Example
7676
* { "attachment":"wings" , "size": ["8"] , "Color": ["Blue"] } -> { "Color": ["Blue"] , "attachment":"wings" , "size": ["8"] }
7777

78-
### Bonus: ask 4 - Persist the processed products and fetch processed products
78+
### Task 4 - Persist the processed products and fetch processed products
7979
Provided is a product repository at src/main/java/com/vicmar57/productprocessor/repository/ProductRepository.java
8080

8181
You can autowire that interface and use it to persist and retrieve products.

src/test/java/com/vicmar57/productprocessor/integration/ProductProcessingTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void normalization_capitalize() {
4141
}
4242

4343
@Test
44-
public void normalization_capitalize2() {
44+
public void nullProductTest_noAction() {
4545
Product product = null;
4646
ResponseEntity<Product> productResponseEntity = restTemplate.postForEntity(UPSERT_PRODUCT_URL, product, Product.class);
4747
assertThat(productResponseEntity.getStatusCode()).isEqualTo(HttpStatus.UNSUPPORTED_MEDIA_TYPE);

0 commit comments

Comments
 (0)