[C4GT] Schema: Add tests for `SchemaNotFound`
Description
Subtask under : https://github.com/cord-network/community/issues/7
New testcase can be tested under cargo test -p pallet-schema after adding it in the code.
Goals
- [ ] Add tests for
SchemaNotFoundfor pallet/schema
Expected Outcome
- [ ] Test should assert for
SchemaNotFoundbeing 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 check_duplicate_schema_creation which validates error code SchemaAlreadyAnchored
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]
@vatsa287 @amarts I am interested in working on this issue
@vatsa287 I am interested to work on this, plz guide me
I am intested in this .I have also made a Pull request .
Dear @vatsa287 sir I am interested and want to fix this issue.
Hello @avi8115, Please let us know if you need any assistance. Thanks.
Hello @vatsa287, can i work on this issue