Commit a7fb72ae authored by Esma Meral's avatar Esma Meral
Browse files

bugfix

parent 4df62ded
Showing with 3 additions and 1 deletion
+3 -1
...@@ -124,7 +124,7 @@ public void postProduct() throws Exception { ...@@ -124,7 +124,7 @@ public void postProduct() throws Exception {
assertNotNull(product); assertNotNull(product);
assertEquals(product.getName(), "Kids Blanket"); assertEquals(product.getName(), "Kids Blanket");
assertNotNull(product.getId()); assertNotNull(product.getId());
} }
``` ```
To resolve compile errors add following static imports: To resolve compile errors add following static imports:
...@@ -160,3 +160,5 @@ To resolve compile error add following static import: ...@@ -160,3 +160,5 @@ To resolve compile error add following static import:
```java ```java
import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.delete; import static org.springframework.test.web.servlet.request.MockMvcRequestBuilders.delete;
``` ```
* Run your JUnit test class
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment