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();