From e83de8d7f6e0c023203cabf0afbe3bc287d07de7 Mon Sep 17 00:00:00 2001 From: dfleta Date: Tue, 11 Feb 2020 19:42:39 +0100 Subject: [PATCH] test(TokenContractTest): Configurar precio del token en test payable --- src/test/java/enzinium/TokenContractTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/test/java/enzinium/TokenContractTest.java b/src/test/java/enzinium/TokenContractTest.java index 693b108..aeca087 100644 --- a/src/test/java/enzinium/TokenContractTest.java +++ b/src/test/java/enzinium/TokenContractTest.java @@ -20,6 +20,8 @@ public void setup_address_y_contract() { ricknillos.addOwner(rick.getPK(), 100d); assertEquals(1, ricknillos.getBalances().size()); + ricknillos.setTokenPrice(5d); + morty = new Address(); morty.generateKeyPair(); }