Explorar o código

contract/dao/test: Use native network token where needed.

parazyd %!s(int64=3) %!d(string=hai) anos
pai
achega
767f8badd7
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/contract/dao/tests/integration.rs

+ 1 - 1
src/contract/dao/tests/integration.rs

@@ -56,7 +56,7 @@ async fn integration_test() -> Result<()> {
 
     // Money parameters
     let xdrk_supply = 1_000_000;
-    let xdrk_token_id = TokenId::from(pallas::Base::random(&mut OsRng));
+    let xdrk_token_id = *DARK_TOKEN_ID;
 
     // Governance token parameters
     let gdrk_supply = 1_000_000;