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-statement after adding it in the code.
Goals
Add tests for InvalidIdentifierLength for pallet/statement
Expected Outcome
Test should assert for InvalidIdentifierLength 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: check method trying_to_register_statement_by_a_non_delegate_should_fail which validates error code UnauthorizedOperation
Hello @vatsa287
I am interested in contributing to this project. Can we please connect for further discussions and could you please asssign the ticket to me?
Description
Subtask under : cord-network/community#7
New testcase can be tested under
cargo test -p pallet-statement
after adding it in the code.Goals
InvalidIdentifierLength
for pallet/statementExpected Outcome
InvalidIdentifierLength
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: check method
trying_to_register_statement_by_a_non_delegate_should_fail
which validates error codeUnauthorizedOperation
Mockups / Wireframes
NA
Product Name
CORD
Organization Name
Dhiway
Domain
Blockchain
Tech Skills Needed
Rust
Mentor(s)
@amarts
Complexity
[Medium]
Category
[Test]
Sub Category
[Beginner friendly]
The text was updated successfully, but these errors were encountered: