Skip to content

Commit

Permalink
Fix tests and imports
Browse files Browse the repository at this point in the history
  • Loading branch information
maltekliemann committed Jul 7, 2024
1 parent 6d1c61c commit 3386a01
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion zrml/neo-swaps/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -306,7 +306,7 @@ impl frame_system::Config for Runtime {
type Hashing = BlakeTwo256;
type Lookup = IdentityLookup<Self::AccountId>;
type Nonce = u64;
type MaxConsumers = frame_support::traits::ConstU32<16>;
type MaxConsumers = ConstU32<16>;
type OnKilledAccount = ();
type OnNewAccount = ();
type RuntimeOrigin = RuntimeOrigin;
Expand Down
1 change: 1 addition & 0 deletions zrml/neo-swaps/src/tests/buy.rs
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// along with Zeitgeist. If not, see <https://www.gnu.org/licenses/>.

use super::*;
use sp_runtime::{DispatchError, TokenError};
use test_case::test_case;

// Example taken from
Expand Down
3 changes: 1 addition & 2 deletions zrml/prediction-markets/src/mock.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ use frame_support::{
traits::{Everything, NeverEnsureOrigin, OnFinalize, OnInitialize},
};
use frame_system::{mocking::MockBlock, EnsureRoot, EnsureSignedBy};
use parity_scale_codec::Encode;
use sp_arithmetic::per_things::Percent;
use sp_runtime::{
traits::{BlakeTwo256, ConstU32, IdentityLookup},
Expand Down Expand Up @@ -247,7 +246,7 @@ impl frame_system::Config for Runtime {
type Hashing = BlakeTwo256;
type Lookup = IdentityLookup<Self::AccountId>;
type Nonce = u64;
type MaxConsumers = frame_support::traits::ConstU32<16>;
type MaxConsumers = ConstU32<16>;
type OnKilledAccount = ();
type OnNewAccount = ();
type RuntimeOrigin = RuntimeOrigin;
Expand Down

0 comments on commit 3386a01

Please sign in to comment.