8000 [C4GT] Statement: Add tests for `PresentationNotFound` · Issue #319 · dhiway/cord · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
[C4GT] Statement: Add tests for PresentationNotFound #319
Closed
@vatsa287

Description

@vatsa287

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

  • Add tests for PresentationNotFound for pallet/statement

Expected Outcome

  • Test should assert for PresentationNotFound 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

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]

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0