fixed an issue where a test behaved differently on windows and linux
This commit is contained in:
parent
5f95f27d8d
commit
699ccb2eae
src/test/java/se/su/dsv/scipro/wicket
@ -108,7 +108,7 @@ public class BaseWicketTest {
|
||||
|
||||
@Mock EntityManagerFactoryInfo entityManagerFactory = Mockito.mock(LocalEntityManagerFactoryBean.class);
|
||||
|
||||
@Before
|
||||
//@Before
|
||||
public void setup() {
|
||||
/*
|
||||
* Setup a new mock applicationContext
|
||||
|
@ -59,6 +59,8 @@ public class TestWicketPages extends BaseWicketTest {
|
||||
@Test
|
||||
public void testStartPage() throws Exception {
|
||||
|
||||
|
||||
this.setLoggedIn(false);
|
||||
tester.startPage(HomePage.class);
|
||||
tester.assertRenderedPage(LoginPage.class);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user