Skip to content

Commit

Permalink
Fix hybrid testing in GenresHierarchyTest
Browse files Browse the repository at this point in the history
  • Loading branch information
beckermarc authored Dec 19, 2024
1 parent d0180d5 commit c5a2031
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions srv/src/test/java/my/bookshop/GenreHierarchyTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -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)/"
Expand All @@ -234,6 +234,6 @@ void testStartTwoLevelsOrderByDescHANA() throws Exception {
}

private boolean isOnHana() {
return env.acceptsProfiles(Profiles.of("hybrid"));
return env.acceptsProfiles(Profiles.of("cloud"));
}
}
}

0 comments on commit c5a2031

Please sign in to comment.