File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
src/test/java/com/jaspersoft/jasperserver/jaxrs/client/core Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 1- package com .jaspersoft .jasperserver .jaxrs .client .core ;//package com.jaspersoft.jasperserver.jaxrs.client.core;
1+ package com .jaspersoft .jasperserver .jaxrs .client .core ;
22
33import com .fasterxml .jackson .jaxrs .json .JacksonJaxbJsonProvider ;
44import java .security .SecureRandom ;
@@ -160,6 +160,7 @@ public void should_create_new_instance_session_storage() throws Exception {
160160
161161 // Given
162162 suppress (method (SessionStorage .class , "init" ));
163+ doReturn ("http" ).when (configurationMock ).getJasperReportsServerUrl ();
163164
164165 // When
165166 SessionStorage sessionStorageSpy = new SessionStorage (configurationMock , credentialsMock );
@@ -168,7 +169,6 @@ public void should_create_new_instance_session_storage() throws Exception {
168169 assertNotNull (sessionStorageSpy );
169170 assertNotNull (Whitebox .getInternalState (sessionStorageSpy , "configuration" ));
170171 assertNotNull (Whitebox .getInternalState (sessionStorageSpy , "credentials" ));
171- assertEquals (Whitebox .getInternalState (sessionStorageSpy , "rootTarget" ), null );
172172 assertEquals (Whitebox .getInternalState (sessionStorageSpy , "sessionId" ), null );
173173 }
174174
You can’t perform that action at this time.
0 commit comments