Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bruno tester for GetMaskinportenDelegations (Issues #175, #299, #326, #377) #824

Open
12 tasks
ivartryti opened this issue Sep 19, 2024 · 0 comments
Open
12 tasks
Labels
kind/chore Create a none user-story issue (chore, tech issue, backend issue) status/draft Status: When you create an issue before you have enough info to properly describe the issue.

Comments

@ivartryti
Copy link
Member

ivartryti commented Sep 19, 2024

Description

I dag er det bare én happy flow automatisert bruno test for GetMaskinportenDelegations (Issues #175, #299, #326, #377). Lag brunotester for resten av akseptansekriteriene også.
Se også #641 for en oversikt over issues der vi må sjekke testdekning.

Må lage tester med:

  • gylding supplierOrg og consumerOrg med delegeringer
  • gylding supplierOrg og consumerOrg uten delegeringer
  • ugyldig supplierOrg
  • ugyldig consumerOrg?
  • ugylding supplierOrg og consumerOrg?
  • ugyldig scope

Additional Information

No response

Tasks

  • Receive the same HTTP status, message and body responses as before, for successful lookups when delegations exist
  • Receive the same HTTP status, message and body responses as before, for successful lookups when no delegations exist
  • Receive the same HTTP status, message and body responses as before, for errors/failure situations
  • Token Authorization Scope; "altinn:maskinporten/delegations", should only give access to lookup delegations for the service owners own resources
  • Token Authorization Scope; "altinn:maskinporten/delegations.admin", should give access to lookup delegations for any maskinporten scope delegation
  • Without a valid token with authorized scope should give same error as in A2

Acceptance Criterias

No response

@ivartryti ivartryti added status/draft Status: When you create an issue before you have enough info to properly describe the issue. kind/chore Create a none user-story issue (chore, tech issue, backend issue) labels Sep 19, 2024
@ivartryti ivartryti changed the title bruno tests for API for listing maskinporten supplier delegations for maskinporten and api owners bruno tester for GetMaskinportenDelegations (Issues #175, #299, #326, #377) Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/chore Create a none user-story issue (chore, tech issue, backend issue) status/draft Status: When you create an issue before you have enough info to properly describe the issue.
Projects
Development

No branches or pull requests

1 participant