From 2294ccd30df3176d3c34adda45a566c51f074fcf Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Wed, 4 Sep 2024 11:00:05 +0200 Subject: [PATCH] 15 --- .run/Test.run.xml | 24 +++++++++ .run/WebshopApplication.run.xml | 1 - build.gradle.kts | 3 ++ .../java/de/szut/store/supplier/Supplier.java | 2 +- .../store/supplier/SupplierController.java | 2 - .../java/de/szut/store/IntegrationTest.java | 34 +++++++++++++ .../store/PostgresContextInitializer.java | 26 ++++++++++ .../store/supplier/CreateSupplierTest.java | 51 +++++++++++++++++++ .../store/supplier/FindAllSupplierTest.java | 36 +++++++++++++ .../de/szut/store/application-it.properties | 3 ++ 10 files changed, 178 insertions(+), 4 deletions(-) create mode 100644 .run/Test.run.xml create mode 100644 src/test/java/de/szut/store/IntegrationTest.java create mode 100644 src/test/java/de/szut/store/PostgresContextInitializer.java create mode 100644 src/test/java/de/szut/store/supplier/CreateSupplierTest.java create mode 100644 src/test/java/de/szut/store/supplier/FindAllSupplierTest.java create mode 100644 src/test/resources/de/szut/store/application-it.properties diff --git a/.run/Test.run.xml b/.run/Test.run.xml new file mode 100644 index 0000000..e33b35f --- /dev/null +++ b/.run/Test.run.xml @@ -0,0 +1,24 @@ + + + + + + + true + true + false + false + + + \ No newline at end of file diff --git a/.run/WebshopApplication.run.xml b/.run/WebshopApplication.run.xml index 95e89f9..f043e2d 100644 --- a/.run/WebshopApplication.run.xml +++ b/.run/WebshopApplication.run.xml @@ -4,7 +4,6 @@