You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're creating a new test function asset_create_should_fail_invalid_digest.
We set up the necessary variables such as creator, author, capacity, etc.
We create an invalid_digest that will intentionally trigger the InvalidDigest error (e.g., an empty vector).
Fixesdhiway#369
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
InvalidDigest
for pallet/assetExpected Outcome
InvalidDigest
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: