kleine Änderungen an UserControllerTest
[staff/due1/sed-hs15-srs-purple.git] / src / test / java / ch / bfh / ti / srs / core / UserControllerTest.java
index 9e17624..3c76c2a 100644 (file)
@@ -114,12 +114,12 @@ public class UserControllerTest {
                \r
                uc.setDataHandler(dh);\r
                uc.addUser("TestUser1", "pass1", "grosm9@bfh.ch", null, null);\r
-               uc.addUser("TestUser2", "pass2", "grosm9@bfh.ch", null, null);\r
+               uc.addUser("TestUser2", "pass2", "hanfli@bfh.ch", null, null);\r
                uc.addUser("TestUser3", "pass3", "grosm9@bfh.ch", "Test", null);\r
                uc.addUser("TestUser4", "pass4", "grosm9@bfh.ch", "Test", "User");\r
                \r
                uc.logIn("TestUser2", "pass2");\r
-               assertEquals("grosm9@bfh.ch", uc.getLoggedMail());\r
+               assertEquals("hanfli@bfh.ch", uc.getLoggedMail());\r
        }\r
        \r
        @Test(expected=Exception.class)\r
@@ -136,11 +136,11 @@ public class UserControllerTest {
                uc.setDataHandler(dh);\r
                uc.addUser("TestUser1", "pass1", "grosm9@bfh.ch", null, null);\r
                uc.addUser("TestUser2", "pass2", "grosm9@bfh.ch", null, null);\r
-               uc.addUser("TestUser3", "pass3", "grosm9@bfh.ch", "Test", null);\r
+               uc.addUser("TestUser3", "pass3", "grosm9@bfh.ch", "Hanfli", null);\r
                uc.addUser("TestUser4", "pass4", "grosm9@bfh.ch", "Test", "User");\r
                \r
                uc.logIn("TestUser3", "pass3");\r
-               assertEquals("Test", uc.getLoggedName());\r
+               assertEquals("Hanfli", uc.getLoggedName());\r
        }\r
        \r
        @Test(expected=Exception.class)\r