Skip to content

Commit

Permalink
Fix Broken Test, Readme
Browse files Browse the repository at this point in the history
Signed-off-by: sourabh_parsekar <[email protected]>
  • Loading branch information
sourabhparsekar committed Sep 29, 2021
1 parent 5dd68ff commit 26af878
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Cook Veg Masala Noodles using Camunda Workflow
***
![Camunda + Springboot](./documentation/images/camunda%20springboot.png)
![Camunda + Springboot](./documentation/images/camunda%20springboot%20test.png)

## Introduction:
This standalone process application is an example using [Camunda Workflow](https://camunda.com/) & [Springboot](https://spring.io/projects/spring-boot) with JUnit5 Test cases. As for the use case, we will try to _cook veg masala instant noodles_ else order from our favorite restaurant if we fail.
Expand Down
Binary file added documentation/images/camunda springboot test.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion src/main/resources/application.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ spring:
properties:
hibernate:
format_sql: true
ddl-auto: create-drop
ddl-auto: create-update
jdbc:
lob:
non_contextual_creation: false
Expand Down
2 changes: 0 additions & 2 deletions src/test/java/com/noodles/MasalaNoodlesApplicationTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
import org.junit.jupiter.api.Test;
import org.springframework.boot.test.context.SpringBootTest;

import static org.junit.jupiter.api.Assertions.*;

@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)
class MasalaNoodlesApplicationTest {

Expand Down
2 changes: 1 addition & 1 deletion src/test/resources/application-test.properties
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# override the default application.yaml properties here.
# Fully qualified property need to be given here as test can't have .yaml file

spring.datasource.url=jdbc:h2:mem:camunda-h2-test-database

0 comments on commit 26af878

Please sign in to comment.