Skip to content

34460 error downloading - #4713

Open
benjamin-bc-gov wants to merge 5 commits into
bcgov:mainfrom
benjamin-bc-gov:34460_error_downloading
Open

34460 error downloading#4713
benjamin-bc-gov wants to merge 5 commits into
bcgov:mainfrom
benjamin-bc-gov:34460_error_downloading

Conversation

@benjamin-bc-gov

Copy link
Copy Markdown
Collaborator

Issue #: /bcgov/entity#34460

Description of changes:

updated how pay API is called in receipt download

@kialj876 kialj876 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Couple comments for you below

@kialj876 kialj876 Aug 20, 2026

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

'token' is unused now I think? Please remove it if so

assert rv_data == expected


def test_receipt_download_uses_service_token(session, client, jwt, mocker):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

I don't think we need another test here, you can just validate the token used in the 'test_get_receipt' and 'test_get_receipt_request_mock' test

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants