Skip to content

Commit

Permalink
Source formatted
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikVerheul committed Nov 2, 2021
1 parent 63d724b commit 31d9690
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,17 +23,17 @@

/**
* Simple test using the WicketTester.
*
*
* @author Erik Verheul <[email protected]>
*/
public class HomePageTest {

private static final Logger LOGGER = LoggerFactory.getLogger(HomePageTest.class);
private final static ISPController CONTROLLER = getController();
private final static ISPController CONTROLLER = getController();
private final WicketApplication application = new WicketApplication();
private final WicketTester tester = new WicketTester(application);
private final HomePage homePage = new HomePage();

/**
* Setup each test with a new instance of the application and set of data consisting of 4 choices all together from which 3 are selected.
*/
Expand Down Expand Up @@ -109,7 +109,7 @@ public void removeHost() {
CONTROLLER.getSelected().clear();
CONTROLLER.getSelected().add(newHost);
System.out.println("These URL's will be removed " + CONTROLLER.getSelected());
if (!hosts.removeAll(CONTROLLER.getSelected())) {
if (!hosts.removeAll(CONTROLLER.getSelected())) {
System.out.println("The model could not be changed.");
}
//submit form using inner component 'button' as alternate button
Expand Down

0 comments on commit 31d9690

Please sign in to comment.