Ignore:
Timestamp:
10/06/20 13:12:20 (4 years ago)
Author:
bart
Message:

Fixes an issue with processing maxPower of a vote. Javadoc maven plugin now uses latest version.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • exampleparties/humangui/src/test/java/geniusweb/exampleparties/humangui/HumanGuiTest.java

    r21 r24  
    66import static org.junit.Assert.assertTrue;
    77import static org.mockito.Mockito.mock;
     8import static org.mockito.Mockito.when;
    89
    910import java.io.IOException;
     
    2829import geniusweb.bidspace.AllBidsList;
    2930import geniusweb.inform.ActionDone;
     31import geniusweb.inform.Agreements;
    3032import geniusweb.inform.Finished;
    3133import geniusweb.inform.Settings;
     
    7678        @After
    7779        public void after() {
    78                 party.notifyChange(new Finished(null));
     80                Agreements agreements = mock(Agreements.class);
     81                when(agreements.toString()).thenReturn("agree");
     82                party.notifyChange(new Finished(agreements));
    7983        }
    8084
Note: See TracChangeset for help on using the changeset viewer.