From 3228b0d0da5c9e55cb383ea8da13c84d800bab8e Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Tue, 7 May 2019 12:11:17 +0200 Subject: [PATCH] make Hibernate sequence start above 1,000,000 to spare ids for sample data --- .../00000000000000_initial_schema.xml | 2 +- .../repository/AssetRepositoryIntTest.java | 76 +++++++++++++++++++ .../repository/CustomerRepositoryIntTest.java | 52 +++++++++++++ .../MembershipRepositoryIntTest.java | 47 +++++++----- .../SepaMandateRepositoryIntTest.java | 62 +++++++++++++++ .../repository/ShareRepositoryIntTest.java | 75 ++++++++++++++++++ 6 files changed, 293 insertions(+), 21 deletions(-) create mode 100644 src/test/java/org/hostsharing/hsadminng/repository/AssetRepositoryIntTest.java create mode 100644 src/test/java/org/hostsharing/hsadminng/repository/CustomerRepositoryIntTest.java create mode 100644 src/test/java/org/hostsharing/hsadminng/repository/SepaMandateRepositoryIntTest.java create mode 100644 src/test/java/org/hostsharing/hsadminng/repository/ShareRepositoryIntTest.java diff --git a/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml b/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml index d39fdf5a..ee13f6f6 100644 --- a/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml +++ b/src/main/resources/config/liquibase/changelog/00000000000000_initial_schema.xml @@ -7,7 +7,7 @@ http://www.liquibase.org/xml/ns/dbchangelog-ext http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-ext.xsd"> - +