cord icon indicating copy to clipboard operation
cord copied to clipboard

[C4GT] Network-Score: Add tests for `ReferenceNotDebitIdentifier`

Open vatsa287 opened this issue 1 year ago • 2 comments

Description

Subtask under : https://github.com/cord-network/community/issues/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]

vatsa287 avatar Feb 05 '24 17:02 vatsa287

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

amansgith avatar Mar 29 '24 16:03 amansgith

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

PayalKumari10 avatar May 02 '24 06:05 PayalKumari10