-
Notifications
You must be signed in to change notification settings - Fork 112
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 UnauthorizedOperation #368
Comments
Hey @vatsa287 I have raised a PR. Kindly look into it. |
Details: Created a new function asset_create_unauthorized_operation to generate an asset with invalid authorization. Handled the error
Details: Created a new function asset_create_unauthorized_operation to generate an asset with invalid authorization. Handled the error
Details: Created a new function asset_create_unauthorized_operation to generate an asset with invalid authorization. Handled the error
Details: Created a new function asset_create_unauthorized_operation to generate an asset with invalid authorization. Handled the error
Details: Created a new function asset_create_unauthorized_operation to generate an asset with invalid authorization. Handled the error
Hey @vatsa287 @amarts, I would like to work on this Issue. I have observed all the ways Do let me know if i can start working on it :) |
@Om-Thorat Sure you can take this up. |
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
UnauthorizedOperation
for pallet/assetExpected Outcome
UnauthorizedOperation
being returned properly in all the possible calls.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
[Medium]
Category
[Test]
Sub Category
[Beginner friendly]
The text was updated successfully, but these errors were encountered: