cord icon indicating copy to clipboard operation
cord copied to clipboard

[C4GT] Asset: Add tests for transfer of asset

Open vatsa287 opened this issue 2 years ago • 4 comments

Description

Subtask under : https://github.com/cord-network/community/issues/7

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

Goals

  • [ ] Add tests for transfer of asset unit case.

Expected Outcome

  • [ ] Test should assert for transfer of asset with passing of assertion. Asset should be successfully transferred from one holder to another

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]

vatsa287 avatar Mar 12 '24 07:03 vatsa287

@vatsa287 can I work on it and could you please mentor me about this issue

Sayan2908 avatar Mar 22 '24 19:03 Sayan2908

Can I give it a go @vatsa287 ?

kartikaysaxena avatar Apr 25 '24 12:04 kartikaysaxena

Hello @kartikaysaxena If you are open for contributing to the issue, pls directly raise the PR. Thanks.

VedantKhairnar avatar Aug 28 '24 00:08 VedantKhairnar

@vatsa287 I think the test for it is already added as asset_transfer_should_succeed()

JiyaGupta-cs avatar Sep 24 '24 21:09 JiyaGupta-cs

Closing as completed.

vatsa287 avatar Oct 18 '24 18:10 vatsa287