Skip to content

Commit af6c469

Browse files
committed
fix test: add /about to the list of public endpoints
1 parent ae06c6d commit af6c469

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/test/kotlin/ch/derlin/bbdata/output/TestSecurityScopes.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ class TestSecurityScopes {
3535
companion object {
3636
val RO_BODY = JsonEntity.empty(HU to REGULAR_USER_ID, HA to APIKEY(REGULAR_USER_ID, ro = true)) // read-only
3737
val BAD_APIKEY_BODY = JsonEntity.empty(HU to REGULAR_USER_ID, HA to "notanapikey") // wrong
38-
val PUBLIC_ENDPOINTS = setOf("/units", "/types", "/login")
38+
val PUBLIC_ENDPOINTS = setOf("/about", "/units", "/types", "/login")
3939

4040
// extract the HttpMethod and URL of all registered endpoints, excluding doc
4141
private fun RequestMappingHandlerMapping.getEndpoints(): Sequence<Pair<HttpMethod?, String>> =

0 commit comments

Comments
 (0)