Skip to content

Commit

Permalink
fix store conflict in testClearVotes unittest
Browse files Browse the repository at this point in the history
  • Loading branch information
nanfengpo committed May 9, 2018
1 parent bb91dc8 commit ebd798e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -253,6 +253,7 @@ public void testClearVotes() {
getContract(OWNER_ADDRESS), dbManager);
TransactionResultCapsule ret = new TransactionResultCapsule();

dbManager.getVotesStore().reset();
Assert.assertNull(dbManager.getVotesStore().get(ownerAddressBytes));
try {
actuator.validate();
Expand Down

0 comments on commit ebd798e

Please sign in to comment.