Skip to content

Commit

Permalink
Removed unused AuthorizationFeature variable
Browse files Browse the repository at this point in the history
  • Loading branch information
Raf-atmire committed May 8, 2020
1 parent cb6c5cc commit ece341e
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import org.dspace.app.rest.authorization.TrueForLoggedUsersFeature;
import org.dspace.app.rest.authorization.TrueForTestUsersFeature;
import org.dspace.app.rest.authorization.TrueForUsersInGroupTestFeature;
import org.dspace.app.rest.authorization.impl.LoginOnBehalfOfFeature;
import org.dspace.app.rest.builder.CommunityBuilder;
import org.dspace.app.rest.builder.EPersonBuilder;
import org.dspace.app.rest.builder.GroupBuilder;
Expand Down Expand Up @@ -113,11 +112,6 @@ public class AuthorizationRestRepositoryIT extends AbstractControllerIntegration
*/
private AuthorizationFeature trueForUsersInGroupTest;

/**
* This holds a reference to the feature {@link LoginOnBehalfOfFeature}
*/
private AuthorizationFeature loginOnBehalfOf;

@Override
@Before
public void setUp() throws Exception {
Expand All @@ -130,7 +124,6 @@ public void setUp() throws Exception {
trueForLoggedUsers = authorizationFeatureService.find(TrueForLoggedUsersFeature.NAME);
trueForTestUsers = authorizationFeatureService.find(TrueForTestUsersFeature.NAME);
trueForUsersInGroupTest = authorizationFeatureService.find(TrueForUsersInGroupTestFeature.NAME);
loginOnBehalfOf = authorizationFeatureService.find(LoginOnBehalfOfFeature.NAME);
}

@Test
Expand Down

0 comments on commit ece341e

Please sign in to comment.