[Lada-commits] [PATCH 1 of 8] Adapt tests to model changes in rev 1bc8ab13e1f7

Wald Commits scm-commit at wald.intevation.org
Tue Dec 13 20:36:26 CET 2016


# HG changeset patch
# User Tom Gottfried <tom at intevation.de>
# Date 1481642472 -3600
# Node ID 93918aca306edff218482a4a707f462798d23851
# Parent  32e27cb8cfef12b2b7bd5a0049fb2284d08429fa
Adapt tests to model changes in rev 1bc8ab13e1f7.

diff -r 32e27cb8cfef -r 93918aca306e src/test/java/de/intevation/lada/test/stamm/Stammdaten.java
--- a/src/test/java/de/intevation/lada/test/stamm/Stammdaten.java	Fri Dec 09 18:20:22 2016 +0100
+++ b/src/test/java/de/intevation/lada/test/stamm/Stammdaten.java	Tue Dec 13 16:21:12 2016 +0100
@@ -172,15 +172,10 @@
                 "isGemeinde",
                 "isLandkreis",
                 "isRegbezirk",
-                "koordXExtern",
-                "koordYExtern",
                 "kreis",
-                "latitude",
-                "longitude",
                 "nuts",
                 "plz",
-                "regbezirk",
-                "kdaId"
+                "regbezirk"
             )
         );
     }
diff -r 32e27cb8cfef -r 93918aca306e src/test/resources/datasets/clean_and_seed.sql
--- a/src/test/resources/datasets/clean_and_seed.sql	Fri Dec 09 18:20:22 2016 +0100
+++ b/src/test/resources/datasets/clean_and_seed.sql	Tue Dec 13 16:21:12 2016 +0100
@@ -49,7 +49,7 @@
 INSERT INTO verwaltungseinheit (
             id, bundesland, bezeichnung,
             is_bundesland, is_gemeinde, is_landkreis, is_regbezirk)
-       VALUES ('11000000', '11000000', 'Berlin', 1, 1, 1, 0);
+       VALUES ('11000000', '11000000', 'Berlin', true, true, true, false);
 INSERT INTO probenehmer (
 			id, netzbetreiber_id, prn_id, bezeichnung, kurz_bezeichnung)
 		VALUES (726, '06', 'prn', 'test', 'test');


More information about the Lada-commits mailing list