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

more misconfigs #7

Merged
merged 2 commits into from
Oct 9, 2024
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ meta {
}

get {
url: {{nuts-internal}}/internal/vcr/v2/holder/{{Org1DID}}/vc
url: {{nuts-internal}}/internal/vcr/v2/holder/{{Org2SubjectId}}/vc
body: none
auth: none
}
Expand Down
2 changes: 1 addition & 1 deletion Hackathon_2024.10/60 Autorisation/Search VVT by name.bru
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@ vars:post-response {
}

assert {
res.body.length: eq 1
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the local setup this should only return 1 item right? What are your results?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A search without query params returned duplicate results. nuts-foundation/nuts-node#3455, did you perhaps change the query too?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

res.body.length is the length of the entire body in bytes, right?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

res.body.length is the number of results for the search. Depending on your search query and what other parties registered on the discovery service it may have returned more than 1 result

res.body.length: gt 1
res.status: eq 200
}