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

[C4GT] Network-Score: Add tests for ReferenceNotDebitIdentifier #302

Open
3 tasks
vatsa287 opened this issue Feb 5, 2024 · 2 comments · May be fixed by #485
Open
3 tasks

[C4GT] Network-Score: Add tests for ReferenceNotDebitIdentifier #302

vatsa287 opened this issue Feb 5, 2024 · 2 comments · May be fixed by #485
Labels

Comments

@vatsa287
Copy link
Member

vatsa287 commented Feb 5, 2024

Description

Subtask under : cord-network/community#7

New testcase can be tested under cargo test -p pallet-network-score after adding it in the code.

Goals

  • Add tests for ReferenceNotDebitIdentifier for pallet/network-score

Expected Outcome

  • Test should assert for ReferenceNotDebitIdentifier being returned properly in all the possible calls.
  • If there are more than one function returning this error code, all of them should be validated either as one test case or as multiple test cases.

Acceptance Criteria

NA

Implementation Details

Look at other test cases, and add a test case for the same.
Ex: In pallets/network-membership check method test_duplicate_member_request which validates error code MembershipAlreadyAcquired

Mockups / Wireframes

NA


Product Name

CORD

Organization Name

Dhiway

Domain

Blockchain

Tech Skills Needed

Rust

Mentor(s)

@amarts

Complexity

[Low]

Category

[Test]

Sub Category

[Beginner friendly]

@amarts amarts added the good first issue Good for newcomers label Feb 6, 2024
@amansgith
Copy link

hi @vatsa287 @amarts I would like to work on this.. can you assign this issue to me?

@PayalKumari10
Copy link

Hello @vatsa287 @amarts ,
Can you assign this issue to me?

@amansgith amansgith removed their assignment May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants