You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
New testcase can be tested under cargo test -p pallet-network-score after adding it in the code.
Goals
Add tests for UnauthorizedOperation for pallet/network-score
Expected Outcome
Test should assert for UnauthorizedOperation 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
Hey @amarts! I'm looking forward to contribute towards solving this issue. Could you please assign it to me? I already have experience with Rust and Blockchain and I believe I can deliver the same to the community in no time! Looking forward for a positive response from your end.
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
UnauthorizedOperation
for pallet/network-scoreExpected Outcome
UnauthorizedOperation
being returned properly in all the possible calls.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 codeMembershipAlreadyAcquired
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]
The text was updated successfully, but these errors were encountered: