cord icon indicating copy to clipboard operation
cord copied to clipboard

[C4GT] Schema: Add tests for `SchemaNotFound`

Open vatsa287 opened this issue 1 year ago • 5 comments

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 SchemaNotFound for pallet/schema

Expected Outcome

  • [ ] Test should assert for SchemaNotFound 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 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 avatar Feb 06 '24 04:02 vatsa287

@vatsa287 @amarts I am interested in working on this issue

sahil-1729 avatar Mar 17 '24 19:03 sahil-1729

@vatsa287 I am interested to work on this, plz guide me

Anushreebasics avatar Mar 23 '24 06:03 Anushreebasics

I am intested in this .I have also made a Pull request .

Aloneking789 avatar Mar 24 '24 11:03 Aloneking789

Dear @vatsa287 sir I am interested and want to fix this issue.

avi8115 avatar Aug 08 '24 11:08 avi8115

Hello @avi8115, Please let us know if you need any assistance. Thanks.

VedantKhairnar avatar Aug 19 '24 09:08 VedantKhairnar

Hello @vatsa287, can i work on this issue

Vaibhavsahu2810 avatar Dec 21 '24 18:12 Vaibhavsahu2810