Skip to content

Conversation

@adecaro
Copy link
Contributor

@adecaro adecaro commented Nov 12, 2025

The goal of this PR is to add constructors to allow the developer to construct mocks more easily.

This PR is connected to hyperledger-labs/fabric-token-sdk#1265.

@adecaro adecaro added this to the 25Q4 milestone Nov 12, 2025
@adecaro adecaro self-assigned this Nov 12, 2025
@adecaro adecaro added testing All related to testing Fabric Related to Fabric labels Nov 12, 2025
Copy link
Member

@mbrandenburger mbrandenburger left a comment

Choose a reason for hiding this comment

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

Thanks @adecaro LGTM. One minor change request below.

@adecaro
Copy link
Contributor Author

adecaro commented Nov 17, 2025

@mbrandenburger , apologies, I didn't set the status. The PR is still in progress. I'll push more stuff. When ready, I'll ask you to review again. Thanks.

@mbrandenburger mbrandenburger self-requested a review November 17, 2025 09:25
@mbrandenburger mbrandenburger marked this pull request as draft November 17, 2025 09:25
@mbrandenburger
Copy link
Member

@mbrandenburger , apologies, I didn't set the status. The PR is still in progress. I'll push more stuff. When ready, I'll ask you to review again. Thanks.

I set this PR to draft.

@adecaro adecaro marked this pull request as ready for review November 19, 2025 13:17
@adecaro adecaro force-pushed the 1077-add-constructors-to-the-fabric-api-to-support-unit-testing branch from 6dbba11 to 57b7ad5 Compare November 19, 2025 13:19
@adecaro adecaro marked this pull request as draft November 19, 2025 13:52
@adecaro
Copy link
Contributor Author

adecaro commented Nov 19, 2025

@mbrandenburger @SaidAltury-ibm , I still have a function to add. Sorry for that.

adecaro and others added 4 commits November 19, 2025 16:47
Signed-off-by: Angelo De Caro <[email protected]>
Signed-off-by: Angelo De Caro <[email protected]>
Co-authored-by: Marcus Brandenburger <[email protected]>
Signed-off-by: Angelo De Caro <[email protected]>
Signed-off-by: Angelo De Caro <[email protected]>
Signed-off-by: Angelo De Caro <[email protected]>
@adecaro adecaro force-pushed the 1077-add-constructors-to-the-fabric-api-to-support-unit-testing branch from 446f400 to 48f3786 Compare November 19, 2025 15:48
Copy link
Member

@mbrandenburger mbrandenburger left a comment

Choose a reason for hiding this comment

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

LGTM

@mbrandenburger mbrandenburger changed the title fabric/services/endorser: better support for unit-testing #1077 refactor(fabric/services/endorser): better support for unit-testing #1077 Nov 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fabric Related to Fabric testing All related to testing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants