tests: Rename `miniMeFactory` -> `miniMeTokenFactory`

This commit is contained in:
nfnty 2017-06-15 14:21:15 +02:00
parent 53ffe1be85
commit 941b3e3494
No known key found for this signature in database
GPG Key ID: 32DD96A5D0370907
2 changed files with 12 additions and 8 deletions

View File

@ -26,7 +26,7 @@ contract("StatusContribution", (accounts) => {
let multisigComunity; let multisigComunity;
let multisigReserve; let multisigReserve;
let multisigDevs; let multisigDevs;
let miniMeFactory; let miniMeTokenFactory;
let sgt; let sgt;
let snt; let snt;
let statusContribution; let statusContribution;
@ -50,11 +50,13 @@ contract("StatusContribution", (accounts) => {
multisigComunity = await MultiSigWallet.new([addressCommunity], 1); multisigComunity = await MultiSigWallet.new([addressCommunity], 1);
multisigReserve = await MultiSigWallet.new([addressReserve], 1); multisigReserve = await MultiSigWallet.new([addressReserve], 1);
multisigDevs = await MultiSigWallet.new([addressDevs], 1); multisigDevs = await MultiSigWallet.new([addressDevs], 1);
miniMeFactory = await MiniMeTokenFactory.new();
sgt = await SGT.new(miniMeFactory.address); miniMeTokenFactory = await MiniMeTokenFactory.new();
sgt = await SGT.new(miniMeTokenFactory.address);
await sgt.generateTokens(addressSGTHolder, 5000); await sgt.generateTokens(addressSGTHolder, 5000);
snt = await SNT.new(miniMeFactory.address); snt = await SNT.new(miniMeTokenFactory.address);
statusContribution = await StatusContributionMock.new(); statusContribution = await StatusContributionMock.new();
contributionWallet = await ContributionWallet.new( contributionWallet = await ContributionWallet.new(
multisigStatus.address, multisigStatus.address,

View File

@ -27,7 +27,7 @@ contract("StatusContribution", (accounts) => {
let multisigComunity; let multisigComunity;
let multisigReserve; let multisigReserve;
let multisigDevs; let multisigDevs;
let miniMeFactory; let miniMeTokenFactory;
let sgt; let sgt;
let snt; let snt;
let statusContribution; let statusContribution;
@ -53,12 +53,14 @@ contract("StatusContribution", (accounts) => {
multisigComunity = await MultiSigWallet.new([addressCommunity], 1); multisigComunity = await MultiSigWallet.new([addressCommunity], 1);
multisigReserve = await MultiSigWallet.new([addressReserve], 1); multisigReserve = await MultiSigWallet.new([addressReserve], 1);
multisigDevs = await MultiSigWallet.new([addressDevs], 1); multisigDevs = await MultiSigWallet.new([addressDevs], 1);
miniMeFactory = await MiniMeTokenFactory.new();
sgt = await SGT.new(miniMeFactory.address); miniMeTokenFactory = await MiniMeTokenFactory.new();
sgt = await SGT.new(miniMeTokenFactory.address);
await sgt.generateTokens(addressSGTHolder, 2500); await sgt.generateTokens(addressSGTHolder, 2500);
await sgt.generateTokens(addressStatus, 2500); await sgt.generateTokens(addressStatus, 2500);
snt = await SNT.new(miniMeFactory.address); snt = await SNT.new(miniMeTokenFactory.address);
statusContribution = await StatusContributionMock.new(); statusContribution = await StatusContributionMock.new();
contributionWallet = await ContributionWallet.new( contributionWallet = await ContributionWallet.new(
multisigStatus.address, multisigStatus.address,