mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-18 14:55:53 -04:00
Remove hardcoded path from ViewLoaderTests
This commit is contained in:
parent
50046b6adc
commit
63b7e254d7
@ -88,13 +88,6 @@ public class ViewLoaderTests {
|
||||
new FxmlViewLoader(viewFactory, resourceBundle).load(uri);
|
||||
}
|
||||
|
||||
@Test
|
||||
public void loadingValidFxmlResourceShouldNotThrow() throws MalformedURLException {
|
||||
String path = "/Users/cbeams/Desktop/bitsquare/bitsquare/build/resources/main/" +
|
||||
"io/bitsquare/gui/main/account/AccountView.fxml";
|
||||
new FxmlViewLoader(viewFactory, resourceBundle).load(new File(path).toURI().toURL());
|
||||
}
|
||||
|
||||
@Test
|
||||
public void loadingFromValidFxmlViewClassShouldNotThrow() {
|
||||
new FxmlViewLoader(viewFactory, resourceBundle).load(FundsView.class);
|
||||
|
Loading…
x
Reference in New Issue
Block a user