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
* Get rid of clippy warnings
* Fmt
* Expect deprecation of testing infrastructure module
* Bump versions
* Allow instead of expect
* Make separate paragraph
* Change date in changelog
Copy file name to clipboardExpand all lines: concordium-cis2/src/cis2_client.rs
+6-5Lines changed: 6 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -389,6 +389,9 @@ impl Cis2Client {
389
389
390
390
#[cfg(test)]
391
391
mod test {
392
+
// concordium_std::test_infrastructure is deprecated and should on the long term be replaced with concordium-smart-contract-testing, see also https://github.com/Concordium/concordium-rust-smart-contracts/issues/341
393
+
#![allow(deprecated)]
394
+
392
395
usecrate::*;
393
396
use concordium_std::test_infrastructure::*;
394
397
@@ -538,9 +541,7 @@ mod test {
538
541
};
539
542
540
543
// Return a response with operator true.
541
-
Ok((false,OperatorOfQueryResponse{
542
-
0:vec![true],
543
-
}))
544
+
Ok((false,OperatorOfQueryResponse(vec![true])))
544
545
}
545
546
546
547
host.setup_mock_entrypoint(
@@ -551,9 +552,9 @@ mod test {
551
552
552
553
let client = Cis2Client::new(cis_contract_address);
0 commit comments