use of com.faforever.client.config.ClientProperties.Website in project downlords-faf-client by FAForever.
the class LoginControllerTest method setUp.
@Before
public void setUp() throws Exception {
ClientProperties clientProperties = new ClientProperties();
instance = new LoginController(userService, preferencesService, platformService, clientProperties);
loadFxml("theme/login.fxml", param -> instance);
Website website = clientProperties.getWebsite();
website.setCreateAccountUrl("create");
website.setForgotPasswordUrl("forgot");
when(preferencesService.getPreferences()).thenReturn(new Preferences());
}
Aggregations