From 675a1bd35e3a682a89e44a0176975be65eaea514 Mon Sep 17 00:00:00 2001 From: Daniel Zdravkovic <3012893@stud.hs-mannheim.de> Date: Tue, 11 Jun 2024 11:11:59 +0200 Subject: [PATCH] more sign_out tests --- src/test/java/de/hs_mannheim/domain/SystemTest.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/test/java/de/hs_mannheim/domain/SystemTest.java b/src/test/java/de/hs_mannheim/domain/SystemTest.java index 8fac097..a804e42 100644 --- a/src/test/java/de/hs_mannheim/domain/SystemTest.java +++ b/src/test/java/de/hs_mannheim/domain/SystemTest.java @@ -124,10 +124,15 @@ public class SystemTest { @Test public void sign_out_user() { - current_system.sign_in_user("Daniel", "1401Daniel"); + assertEquals(true, current_system.sign_in_user("David", "123Esel")); + assertEquals("David",current_system.getDetails()[0]); current_system.sign_out_user(); assertEquals("",current_system.getDetails()[0]); } + + + + } \ No newline at end of file