cord icon indicating copy to clipboard operation
cord copied to clipboard

Added tests for Unauthorization Operation

Open VishnuAmit opened this issue 1 year ago • 3 comments

Hi, @vatsa287. I have deleted the previous PR and created this new which solves this issue. The test cases are passing now. Kindly take a look into it. Kind Regards.

image

VishnuAmit avatar May 06 '24 09:05 VishnuAmit

hey @zeel991 . Can you please review it and approve the workflow. Kind Regards

VishnuAmit avatar May 07 '24 14:05 VishnuAmit

@vatsa287 yes..it was solved through #439 .But I raised PR for this before 439 and due to unnecessary files(bin n log files) in the changes. I had to create a new PR to remove all those files.

I'll look into it. (Issue().extrinsic). And also I'd like to see if it's passing the test cases here. Ie approval of workflow.

Thanks

VishnuAmit avatar May 08 '24 05:05 VishnuAmit

@vatsa287 yes..it was solved through #439 .But I raised PR for this before 439 and due to unnecessary files(bin n log files) in the changes. I had to create a new PR to remove all those files.

I'll look into it. (Issue().extrinsic). And also I'd like to see if it's passing the test cases here. Ie approval of workflow.

Thanks

Run the command

rustfmt tests.rs 

This will help you clear the rustfmt check , also , you can check whether your test works or not locally using the command

cargo test --release --locked --features=runtime-benchmarks --no-fail-fast --verbose --color always --lib --package pallet-asset

This will help you figure out the errors locally for further tests .

zeel991 avatar May 09 '24 17:05 zeel991