helping build
This commit is contained in:
parent
7b65828a80
commit
926e9701e3
|
@ -116,7 +116,7 @@ public class FullServerTest {
|
||||||
|
|
||||||
TestHelper.assertLatch("controllerRegistered", controllerRegistered);
|
TestHelper.assertLatch("controllerRegistered", controllerRegistered);
|
||||||
|
|
||||||
SessionDetails authenticatorSessionDetails = new SessionDetails(NetworkConnector.Implementation.Unknown, controllerInfo, TEST_TOKEN_3, networkConnectorResult.getOneTimeToken(), rusEFIVersion.CONSOLE_VERSION, "");
|
SessionDetails authenticatorSessionDetails = new SessionDetails(NetworkConnector.Implementation.Unknown, controllerInfo, TEST_TOKEN_3, networkConnectorResult.getOneTimeToken(), rusEFIVersion.CONSOLE_VERSION);
|
||||||
ApplicationRequest applicationRequest = new ApplicationRequest(authenticatorSessionDetails, userDetailsResolver.apply(TestHelper.TEST_TOKEN_1));
|
ApplicationRequest applicationRequest = new ApplicationRequest(authenticatorSessionDetails, userDetailsResolver.apply(TestHelper.TEST_TOKEN_1));
|
||||||
|
|
||||||
// start authenticator
|
// start authenticator
|
||||||
|
|
|
@ -11,7 +11,7 @@ public class SessionDetailsTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testSerialization() {
|
public void testSerialization() {
|
||||||
SessionDetails sd = new SessionDetails(NetworkConnector.Implementation.Unknown, TestHelper.CONTROLLER_INFO, "auth", 123, rusEFIVersion.CONSOLE_VERSION, "");
|
SessionDetails sd = new SessionDetails(NetworkConnector.Implementation.Unknown, TestHelper.CONTROLLER_INFO, "auth", 123, rusEFIVersion.CONSOLE_VERSION);
|
||||||
|
|
||||||
String json = sd.toJson();
|
String json = sd.toJson();
|
||||||
SessionDetails fromJson = SessionDetails.valueOf(json);
|
SessionDetails fromJson = SessionDetails.valueOf(json);
|
||||||
|
@ -20,7 +20,7 @@ public class SessionDetailsTest {
|
||||||
|
|
||||||
@Test
|
@Test
|
||||||
public void testApplicationRequest() {
|
public void testApplicationRequest() {
|
||||||
SessionDetails sd = new SessionDetails(NetworkConnector.Implementation.Unknown, TestHelper.CONTROLLER_INFO, "auth", 123, rusEFIVersion.CONSOLE_VERSION, "");
|
SessionDetails sd = new SessionDetails(NetworkConnector.Implementation.Unknown, TestHelper.CONTROLLER_INFO, "auth", 123, rusEFIVersion.CONSOLE_VERSION);
|
||||||
ApplicationRequest ar = new ApplicationRequest(sd, new UserDetails("", 321));
|
ApplicationRequest ar = new ApplicationRequest(sd, new UserDetails("", 321));
|
||||||
|
|
||||||
String json = ar.toJson();
|
String json = ar.toJson();
|
||||||
|
|
Loading…
Reference in New Issue