Skip to content

Commit c84faaa

Browse files
committed
Remove unused unit test
1 parent b498ff5 commit c84faaa

File tree

1 file changed

+0
-39
lines changed

1 file changed

+0
-39
lines changed

test/AElf.Contracts.Election.Tests/BVT/ElectionTests.cs

Lines changed: 0 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1984,45 +1984,6 @@ await VirtualAddressContractStub.VirtualAddressVote.SendAsync(new VirtualAddress
19841984
return result.ActiveVotingRecords.First().VoteId;
19851985
}
19861986

1987-
// [Fact]
1988-
// public async Task<Hash> VirtualAddress_Vote_WithInlineTxIdAndCountTest()
1989-
// {
1990-
// var amount = 100;
1991-
// const int lockTime = 100 * 60 * 60 * 24;
1992-
// var candidatesKeyPairs = await ElectionContract_AnnounceElection_Test();
1993-
// var candidateKeyPair = candidatesKeyPairs[0];
1994-
//
1995-
// var address = await VirtualAddressContractStub.GetVirtualAddress.CallAsync(new Empty());
1996-
// var initBalance = 100000;
1997-
//
1998-
// await TokenContractStub.Transfer.SendAsync(new TransferInput
1999-
// {
2000-
// Amount = initBalance,
2001-
// Symbol = "ELF",
2002-
// To = address,
2003-
// Memo = "test"
2004-
// });
2005-
//
2006-
// CheckBalance(address, "ELF", initBalance);
2007-
// CheckBalance(address, "SHARE", 0);
2008-
// CheckBalance(address, "VOTE", 0);
2009-
//
2010-
// var virtualAddressVoteInput = new VirtualAddressVoteInput
2011-
// {
2012-
// PubKey = candidateKeyPair.PublicKey.ToHex(),
2013-
// Amount = amount,
2014-
// EndTimestamp = TimestampHelper.GetUtcNow().AddSeconds(lockTime),
2015-
// Token = HashHelper.ComputeFrom("token A")
2016-
// };
2017-
//
2018-
// var resultawait = await VirtualAddressContractStub.VirtualAddressVoteWithInline.SendAsync(new VirtualAddressVoteWithCountInput
2019-
// {
2020-
// VoteInput = virtualAddressVoteInput,
2021-
// Count = 6
2022-
// });
2023-
// return null;
2024-
// }
2025-
//
20261987
[Fact]
20271988
public async Task<Hash> VirtualAddress_Vote_WithInlineTxIdTest()
20281989
{

0 commit comments

Comments
 (0)