fix(test): update LicenseControllerTest to expect STARTER tier (default changed from TEAM)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user