Browse Source

substrate upgrade: fix tests

Mokhtar Naamani 6 years ago
parent
commit
ef428bea01
5 changed files with 5 additions and 5 deletions
  1. 1 1
      src/governance/mock.rs
  2. 1 1
      src/governance/proposals.rs
  3. 1 1
      src/membership/mock.rs
  4. 1 1
      src/roles/mock.rs
  5. 1 1
      src/storage/mock.rs

+ 1 - 1
src/governance/mock.rs

@@ -7,7 +7,7 @@ pub use system;
 pub use primitives::{Blake2Hasher, H256};
 pub use runtime_primitives::{
     testing::{Digest, DigestItem, Header, UintAuthorityId},
-    traits::{BlakeTwo256, IdentityLookup, OnFinalise},
+    traits::{BlakeTwo256, IdentityLookup, OnFinalize},
     BuildStorage,
 };
 

+ 1 - 1
src/governance/proposals.rs

@@ -558,7 +558,7 @@ mod tests {
     // or public keys. `u64` is used as the `AccountId` and no `Signature`s are requried.
     use runtime_primitives::{
         testing::{Digest, DigestItem, Header, UintAuthorityId},
-        traits::{BlakeTwo256, IdentityLookup, OnFinalise},
+        traits::{BlakeTwo256, IdentityLookup, OnFinalize},
         BuildStorage,
     };
     use srml_support::*;

+ 1 - 1
src/membership/mock.rs

@@ -8,7 +8,7 @@ pub use system;
 pub use primitives::{Blake2Hasher, H256};
 pub use runtime_primitives::{
     testing::{Digest, DigestItem, Header, UintAuthorityId},
-    traits::{BlakeTwo256, IdentityLookup, OnFinalise},
+    traits::{BlakeTwo256, IdentityLookup, OnFinalize},
     BuildStorage,
 };
 

+ 1 - 1
src/roles/mock.rs

@@ -9,7 +9,7 @@ pub use system;
 pub use primitives::{Blake2Hasher, H256};
 pub use runtime_primitives::{
     testing::{Digest, DigestItem, Header, UintAuthorityId},
-    traits::{BlakeTwo256, IdentityLookup, OnFinalise},
+    traits::{BlakeTwo256, IdentityLookup, OnFinalize},
     BuildStorage,
 };
 

+ 1 - 1
src/storage/mock.rs

@@ -10,7 +10,7 @@ pub use system;
 pub use primitives::{Blake2Hasher, H256};
 pub use runtime_primitives::{
     testing::{Digest, DigestItem, Header, UintAuthorityId},
-    traits::{BlakeTwo256, IdentityLookup, OnFinalise},
+    traits::{BlakeTwo256, IdentityLookup, OnFinalize},
     BuildStorage,
 };