Explorar el Código

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

parazyd hace 3 años
padre
commit
767f8badd7
Se han modificado 1 ficheros con 1 adiciones y 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;