diff --git a/README.md b/README.md index 8bbac90..992a6c5 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/documentation/images/camunda springboot test.png b/documentation/images/camunda springboot test.png new file mode 100644 index 0000000..4266d2a Binary files /dev/null and b/documentation/images/camunda springboot test.png differ diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yaml index 720e7e0..fe22e3f 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yaml @@ -24,7 +24,7 @@ spring: properties: hibernate: format_sql: true - ddl-auto: create-drop + ddl-auto: create-update jdbc: lob: non_contextual_creation: false diff --git a/src/test/java/com/noodles/MasalaNoodlesApplicationTest.java b/src/test/java/com/noodles/MasalaNoodlesApplicationTest.java index 92ee825..d8ccc7f 100644 --- a/src/test/java/com/noodles/MasalaNoodlesApplicationTest.java +++ b/src/test/java/com/noodles/MasalaNoodlesApplicationTest.java @@ -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 { diff --git a/src/test/resources/application-test.properties b/src/test/resources/application-test.properties index 20c0f1b..44e66aa 100644 --- a/src/test/resources/application-test.properties +++ b/src/test/resources/application-test.properties @@ -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