mirror of
https://github.com/gotson/komga.git
synced 2026-05-08 12:35:30 +02:00
test(api): match UserControllerTest with new behavior
the `ageRestriction` DTO now omits fields instead of having them be null so this updates the test to check via `doesNotExist()`
This commit is contained in:
parent
2762352dfe
commit
2dca806838
1 changed files with 1 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ class UserControllerTest(
|
|||
jsonPath("$.sharedLibrariesId") { doesNotExist() }
|
||||
jsonPath("$.labelsAllow") { isEmpty() }
|
||||
jsonPath("$.labelsExclude") { isEmpty() }
|
||||
jsonPath("$.ageRestriction") { isEmpty() }
|
||||
jsonPath("$.ageRestriction") { doesNotExist() }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue