mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-30 08:11:03 +00:00
update impl_outer_origin (#1444)
This commit is contained in:
@@ -646,7 +646,7 @@ mod tests {
|
||||
use super::Call as ClaimsCall;
|
||||
|
||||
impl_outer_origin! {
|
||||
pub enum Origin for Test {}
|
||||
pub enum Origin for Test where system = system {}
|
||||
}
|
||||
|
||||
impl_outer_dispatch! {
|
||||
|
||||
@@ -578,7 +578,7 @@ mod tests {
|
||||
use crate::registrar::Registrar;
|
||||
|
||||
impl_outer_origin! {
|
||||
pub enum Origin for Test {}
|
||||
pub enum Origin for Test where system = system {}
|
||||
}
|
||||
|
||||
// For testing the module, we construct most of a mock runtime. This means
|
||||
|
||||
@@ -106,7 +106,7 @@ mod multiplier_tests {
|
||||
pub struct Runtime;
|
||||
|
||||
impl_outer_origin!{
|
||||
pub enum Origin for Runtime {}
|
||||
pub enum Origin for Runtime where system = system {}
|
||||
}
|
||||
|
||||
parameter_types! {
|
||||
|
||||
@@ -1702,7 +1702,7 @@ mod tests {
|
||||
];
|
||||
|
||||
impl_outer_origin! {
|
||||
pub enum Origin for Test {
|
||||
pub enum Origin for Test where system = system {
|
||||
parachains
|
||||
}
|
||||
}
|
||||
|
||||
@@ -391,7 +391,7 @@ mod tests {
|
||||
use balances::Error as BalancesError;
|
||||
|
||||
impl_outer_origin! {
|
||||
pub enum Origin for Test {}
|
||||
pub enum Origin for Test where system = system {}
|
||||
}
|
||||
|
||||
impl_outer_dispatch! {
|
||||
|
||||
@@ -688,7 +688,7 @@ mod tests {
|
||||
use crate::attestations;
|
||||
|
||||
impl_outer_origin! {
|
||||
pub enum Origin for Test {
|
||||
pub enum Origin for Test where system = system {
|
||||
parachains,
|
||||
}
|
||||
}
|
||||
|
||||
@@ -893,7 +893,7 @@ mod tests {
|
||||
use primitives::v0::{BlockNumber, Header, Id as ParaId, Info as ParaInfo, Scheduling};
|
||||
|
||||
impl_outer_origin! {
|
||||
pub enum Origin for Test {}
|
||||
pub enum Origin for Test where system = system {}
|
||||
}
|
||||
|
||||
// For testing the module, we construct most of a mock runtime. This means
|
||||
|
||||
@@ -36,7 +36,7 @@ use crate::inclusion;
|
||||
pub struct Test;
|
||||
|
||||
impl_outer_origin! {
|
||||
pub enum Origin for Test { }
|
||||
pub enum Origin for Test where system = system { }
|
||||
}
|
||||
|
||||
impl_outer_dispatch! {
|
||||
|
||||
Reference in New Issue
Block a user