fix(test): update LicenseControllerTest to expect STARTER tier (default changed from TEAM)
All checks were successful
CI / build (push) Successful in 1m45s
CI / docker (push) Successful in 1m8s

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
hsiegeln
2026-04-29 12:06:18 +02:00
parent 385d79aa0f
commit 417e6024b0

View File

@@ -60,7 +60,7 @@ class LicenseControllerTest {
new SimpleGrantedAuthority("SCOPE_platform:admin"))))
.andExpect(status().isCreated())
.andExpect(jsonPath("$.token").isNotEmpty())
.andExpect(jsonPath("$.tier").value("TEAM"));
.andExpect(jsonPath("$.tier").value("STARTER"));
}
@Test
@@ -77,7 +77,7 @@ class LicenseControllerTest {
.with(jwt().jwt(j -> j.claim("sub", "test-user"))
.authorities(new SimpleGrantedAuthority("SCOPE_platform:admin"))))
.andExpect(status().isOk())
.andExpect(jsonPath("$.tier").value("TEAM"));
.andExpect(jsonPath("$.tier").value("STARTER"));
}
@Test