fixed an issue where a test behaved differently on windows and linux

This commit is contained in:
Fredrik Norberg 2011-07-15 14:30:47 +02:00
parent 5f95f27d8d
commit 699ccb2eae
2 changed files with 3 additions and 1 deletions
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);