Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[C4GT] Asset: Add tests for status_change of asset #383

Open
2 tasks
vatsa287 opened this issue Mar 12, 2024 · 4 comments
Open
2 tasks

[C4GT] Asset: Add tests for status_change of asset #383

vatsa287 opened this issue Mar 12, 2024 · 4 comments
Assignees
Labels

Comments

@vatsa287
Copy link
Member

vatsa287 commented Mar 12, 2024

Description

Subtask under : cord-network/community#7

New testcase can be tested under cargo test -p pallet-asset after adding it in the code.

Goals

  • Add tests for status_change of asset unit case.

Expected Outcome

  • Test should assert for status_change of asset with passing of assertion.
    Asset status should be changed. Example from active to inactive or expired.

Acceptance Criteria

NA

Implementation Details

Look at other test cases, and add a test case for the same.
Ex: check method asset_create_should_succeed which validates creation of asset.

Mockups / Wireframes

NA


Product Name

CORD

Organization Name

Dhiway

Domain

Blockchain

Tech Skills Needed

Rust

Mentor(s)

@amarts @vatsa287

Complexity

[Low]

Category

[Test]

Sub Category

[Beginner friendly]

@Soham-27
Copy link

Hello @vatsa287, I can take on this issue with confidence. Please assign it to me and I'll ensure that it gets resolved effectively.

@Soham-27
Copy link

hello @vatsa287 ,I have raised PR for this issue .

@zeel991
Copy link
Contributor

zeel991 commented Mar 30, 2024

hello @vatsa287 ,I have raised PR for this issue .

Hello Soham , link your PR with the respective issue , so everyone knows that someone is already solving the issue

@Soham-27
Copy link

Is this correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants