Skip to content

Commit

Permalink
APIS-7292: fixed blocked not being mapped in response (#520)
Browse files Browse the repository at this point in the history
  • Loading branch information
mattclark-zerogravit authored Sep 20, 2024
1 parent 4a41846 commit 5a944a3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -702,6 +702,7 @@ class ApplicationRepository @Inject() (mongo: MongoComponent, val metrics: Metri
"refreshTokensAvailableFor",
"rateLimitTier",
"environment",
"blocked",
"allowAutoDelete"
)
))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -273,6 +273,7 @@ class ApplicationRepositorySearchISpec
result.matching.head.total mustBe 1
result.applications.size mustBe 1
result.applications.head.id mustBe ropcApplication.id
result.applications.head.blocked mustBe false
}

"return applications based on blocked filter" in {
Expand All @@ -298,6 +299,7 @@ class ApplicationRepositorySearchISpec
result.matching.head.total mustBe 1
result.applications.size mustBe 1
result.applications.head.id mustBe blockedApplication.id
result.applications.head.blocked mustBe true
}

"return applications with no API subscriptions" in {
Expand Down

0 comments on commit 5a944a3

Please sign in to comment.