Search in sources :

Example 1 with UpdateUserPermission

use of ca.corefacility.bioinformatics.irida.security.permissions.user.UpdateUserPermission in project irida by phac-nml.

the class UpdateUserPermissionTest method setUp.

@Before
public void setUp() {
    userRepository = mock(UserRepository.class);
    updateUserPermission = new UpdateUserPermission(userRepository);
}
Also used : UserRepository(ca.corefacility.bioinformatics.irida.repositories.user.UserRepository) UpdateUserPermission(ca.corefacility.bioinformatics.irida.security.permissions.user.UpdateUserPermission) Before(org.junit.Before)

Aggregations

UserRepository (ca.corefacility.bioinformatics.irida.repositories.user.UserRepository)1 UpdateUserPermission (ca.corefacility.bioinformatics.irida.security.permissions.user.UpdateUserPermission)1 Before (org.junit.Before)1