first public version, minor fixes

This commit is contained in:
sergeych committed 2023-01-19 11:28:06 +01:00
1 parent ba7fcb947e
commit 16e81dee25
5 files changed
+46 -11

No files matched your search

@@ -292,8 +292,8 @@ class SuperloginClient<D, S : WithAdapter>(
} else null
}
} catch (t: Throwable) {
t.printStackTrace()
throw t
debug { "error while signign in: $t" }
null
}
}
}
@@ -157,6 +157,7 @@ internal class WsServerKtTest {
slc.register("foo", "passwd", TestData("nobar"))
}
slc.logout()
assertFalse{ slc.isLoggedIn }
assertNull(slc.dataKey)
assertIs<LoginState.LoggedOut>(slc.state.value)
assertEquals(null, slc.call(api.loginName))