From 6514d6a17cd090bf49e0d97224523528db1d1a52 Mon Sep 17 00:00:00 2001 From: Michael Hoennig Date: Wed, 18 Sep 2024 14:14:22 +0200 Subject: [PATCH] fix ImportHostingAssets --- .../hostsharing/hsadminng/hs/migration/ImportHostingAssets.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/java/net/hostsharing/hsadminng/hs/migration/ImportHostingAssets.java b/src/test/java/net/hostsharing/hsadminng/hs/migration/ImportHostingAssets.java index 90d987be..2fd29b56 100644 --- a/src/test/java/net/hostsharing/hsadminng/hs/migration/ImportHostingAssets.java +++ b/src/test/java/net/hostsharing/hsadminng/hs/migration/ImportHostingAssets.java @@ -1145,7 +1145,7 @@ public class ImportHostingAssets extends BaseOfficeDataImport { final int expectedCountInTestDataCount, final int minCountExpectedInProdData) { final var q = em.createNativeQuery( - "select count(*) from hs_hosting.asset where type = cast(:type as HsHostingAssetType)", + "select count(*) from hs_hosting.asset where type = cast(:type as hs_hosting.HsHostingAssetType)", Integer.class); q.setParameter("type", assetType.name()); final var count = (Integer) q.getSingleResult();