-
Notifications
You must be signed in to change notification settings - Fork 125
Closed
Labels
Description
Description
Subtask under : cord-network/community#7
New testcase can be tested under cargo test -p pallet-identity after adding it in the code.
Goals
- Add tests for
RegistrarAlreadyExistsfor pallet/identity
Expected Outcome
- Test should assert for
RegistrarAlreadyExistsbeing 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: uninvited_judgement_should_work which validates error code RegistrarNotFound
Mockups / Wireframes
NA
Product Name
CORD
Organization Name
Dhiway
Domain
Blockchain
Tech Skills Needed
Rust
Mentor(s)
Complexity
[Low]
Category
[Test]
Sub Category
[Beginner friendly]