From c5a203164e0169c37e9e2b136d24218864bf37e9 Mon Sep 17 00:00:00 2001 From: Marc Becker Date: Thu, 19 Dec 2024 16:48:58 +0100 Subject: [PATCH] Fix hybrid testing in GenresHierarchyTest --- srv/src/test/java/my/bookshop/GenreHierarchyTest.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/srv/src/test/java/my/bookshop/GenreHierarchyTest.java b/srv/src/test/java/my/bookshop/GenreHierarchyTest.java index e519a2b4..d925cb67 100644 --- a/srv/src/test/java/my/bookshop/GenreHierarchyTest.java +++ b/srv/src/test/java/my/bookshop/GenreHierarchyTest.java @@ -220,7 +220,7 @@ void testFilterExpandLevels() throws Exception { @Test @WithMockUser(username = "admin") void testStartTwoLevelsOrderByDescHANA() throws Exception { - assumeThat(env.getActiveProfiles()).contains("hybrid"); + assumeThat(env.getActiveProfiles()).contains("cloud"); client.perform(get(genresURI + "?$select=DrillState,ID,name,DistanceFromRoot" + "&$apply=orderby(name desc)/" @@ -234,6 +234,6 @@ void testStartTwoLevelsOrderByDescHANA() throws Exception { } private boolean isOnHana() { - return env.acceptsProfiles(Profiles.of("hybrid")); + return env.acceptsProfiles(Profiles.of("cloud")); } -} \ No newline at end of file +}