Skip to content

Commit

Permalink
fix: removed unused field setter
Browse files Browse the repository at this point in the history
  • Loading branch information
mobo4b committed Aug 24, 2020
1 parent 8291bb2 commit f98594b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@

import static de.caritas.cob.messageservice.testHelper.FieldConstants.FIELD_NAME_RC_GET_GROUP_INFO_URL;
import static de.caritas.cob.messageservice.testHelper.FieldConstants.FIELD_NAME_RC_POST_GROUP_MESSAGES_READ;
import static de.caritas.cob.messageservice.testHelper.FieldConstants.FIELD_NAME_RC_POST_USER_LOGIN_URL;
import static de.caritas.cob.messageservice.testHelper.FieldConstants.FIELD_VALUE_RC_GET_GROUP_INFO_URL;
import static de.caritas.cob.messageservice.testHelper.FieldConstants.FIELD_VALUE_RC_POST_GROUP_MESSAGES_READ;
import static de.caritas.cob.messageservice.testHelper.FieldConstants.FIELD_VALUE_RC_POST_USER_LOGIN_URL;
import static de.caritas.cob.messageservice.testHelper.TestConstants.RC_GROUP_ID;
import static de.caritas.cob.messageservice.testHelper.TestConstants.RC_TOKEN;
import static de.caritas.cob.messageservice.testHelper.TestConstants.RC_USER_ID;
Expand Down Expand Up @@ -130,10 +128,6 @@ public void setup() throws NoSuchFieldException, SecurityException {
rocketChatService,
rocketChatService.getClass().getDeclaredField(FIELD_NAME_RC_POST_GROUP_MESSAGES_READ),
FIELD_VALUE_RC_POST_GROUP_MESSAGES_READ);
FieldSetter.setField(
rocketChatService,
rocketChatService.getClass().getDeclaredField(FIELD_NAME_RC_POST_USER_LOGIN_URL),
FIELD_VALUE_RC_POST_USER_LOGIN_URL);
FieldSetter.setField(
rocketChatService,
rocketChatService.getClass().getDeclaredField(FIELD_NAME_RC_GET_GROUP_INFO_URL),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ public class FieldConstants {
public static final String FIELD_NAME_RC_POST_GROUP_MESSAGES_READ = "rcPostGroupMessagesRead";
public static final String FIELD_VALUE_RC_POST_GROUP_MESSAGES_READ =
"/api/v1/subscriptions" + ".read";
public static final String FIELD_NAME_RC_POST_USER_LOGIN_URL = "rcPostUserLoginUrl";
public static final String FIELD_VALUE_RC_POST_USER_LOGIN_URL = "/api/v1/login";
public static final String FIELD_NAME_RC_GET_GROUP_INFO_URL = "rcGetGroupInfoUrl";
public static final String FIELD_VALUE_RC_GET_GROUP_INFO_URL =
"/api/v1/groups.info?roomId=qGTGZwAWjPhyfREya";
Expand Down

0 comments on commit f98594b

Please sign in to comment.