AuthRequestTest 2

This commit is contained in:
Milos Kozak 2019-03-12 20:03:41 +01:00
parent bb22b00245
commit 3ebd7dcdb8

View file

@ -60,6 +60,10 @@ public class AuthRequestTest {
actionCalled = false;
authRequest.action("ABC");
Assert.assertTrue(actionCalled);
// second time action should not be called
actionCalled = false;
authRequest.action("ABC");
Assert.assertFalse(actionCalled);
// test timed out message
long now = 10000;