Closed Bargsteen closed 1 year ago
Looks good.
I'm wondering what the problem is with migrating credential-registry tests?
At least the ones in the credential_registry example are very simple. We can keep the existing tests that are for the state as they are, that was also the idea, and we migrate endpoint tests to use the testing library.
I didn't notice that. Good point. I'll migrate those tests tomorrow.
Purpose
Migrate the tests of most of our example contracts from the old testing infrastructure to the new integration testing library. Closes https://github.com/Concordium/concordium-rust-smart-contracts/issues/337 and https://github.com/Concordium/concordium-rust-smart-contracts/issues/338.
Changes
PartialEq
/Eq
for some cis2 typesExtern*
types, e.g.type StateApi = ExternStateApi
ContractInvokeSuccess::events
transfer-policy-check
cargo concordium test --out
./concordium-out/module.wasm.v1in the CI instead of
cargo test`Checklist