Skip to content

Commit 2f724b2

Browse files
authored
Fix hybrid testing in GenresHierarchyTest (#423)
1 parent d0180d5 commit 2f724b2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

srv/src/test/java/my/bookshop/GenreHierarchyTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ void testFilterExpandLevels() throws Exception {
220220
@Test
221221
@WithMockUser(username = "admin")
222222
void testStartTwoLevelsOrderByDescHANA() throws Exception {
223-
assumeThat(env.getActiveProfiles()).contains("hybrid");
223+
assumeThat(env.getActiveProfiles()).contains("cloud");
224224
client.perform(get(genresURI
225225
+ "?$select=DrillState,ID,name,DistanceFromRoot"
226226
+ "&$apply=orderby(name desc)/"
@@ -234,6 +234,6 @@ void testStartTwoLevelsOrderByDescHANA() throws Exception {
234234
}
235235

236236
private boolean isOnHana() {
237-
return env.acceptsProfiles(Profiles.of("hybrid"));
237+
return env.acceptsProfiles(Profiles.of("cloud"));
238238
}
239-
}
239+
}

0 commit comments

Comments
 (0)