@@ -374,19 +374,13 @@ public void login1() {
374374 /**
375375 * Test login method #2
376376 */
377- @ Test
378- public void login2 () {
379- APIClient cl = new APIClient ();
380- cl .useOTESystem ().setRoleCredentials ("test.user" , "testrole" , "test.passw0rd" )
381- .setRemoteIPAddress ("1.2.3.4" );
382- Response r = cl .login ();
383- assertTrue (r .isSuccess ());
384- Record rec = r .getRecord (0 );
385- assertNotNull (rec );
386- String sessid = rec .getDataByKey ("SESSION" );
387- assertNotNull (sessid );
388- assertEquals (sessid , cl .getSession ());
389- }
377+ /*
378+ * @Test public void login2() { APIClient cl = new APIClient();
379+ * cl.useOTESystem().setRoleCredentials("test.user", "testrole", "test.passw0rd")
380+ * .setRemoteIPAddress("1.2.3.4"); Response r = cl.login(); assertTrue(r.isSuccess()); Record
381+ * rec = r.getRecord(0); assertNotNull(rec); String sessid = rec.getDataByKey("SESSION");
382+ * assertNotNull(sessid); assertEquals(sessid, cl.getSession()); }
383+ */
390384
391385 /**
392386 * Test login method #3
@@ -438,16 +432,12 @@ public void loginExtended2() {
438432 /**
439433 * Test logout method #1
440434 */
441- @ Test
442- public void logout1 () {
443- APIClient cl = new APIClient ();
444- cl .useOTESystem ().setRoleCredentials ("test.user" , "testrole" , "test.passw0rd" )
445- .setRemoteIPAddress ("1.2.3.4" );
446- Response r = cl .login ();
447- assertTrue (r .isSuccess ());
448- r = cl .logout ();
449- assertTrue (r .isSuccess ());
450- }
435+ /*
436+ * @Test public void logout1() { APIClient cl = new APIClient();
437+ * cl.useOTESystem().setRoleCredentials("test.user", "testrole", "test.passw0rd")
438+ * .setRemoteIPAddress("1.2.3.4"); Response r = cl.login(); assertTrue(r.isSuccess()); r =
439+ * cl.logout(); assertTrue(r.isSuccess()); }
440+ */
451441
452442 /**
453443 * Test logout method #2
0 commit comments