use of com.cloudogu.scm.review.config.service.PullRequestConfig in project scm-review-plugin by scm-manager.
the class RepositoryConfigResourceTest method init.
@BeforeEach
void init() {
configResource = new RepositoryConfigResource(configService, new RepositoryConfigMapperImpl(), repositoryManager);
dispatcher = new RestDispatcher();
dispatcher.addSingletonResource(configResource);
lenient().when(uriInfo.getBaseUri()).thenReturn(URI.create("localhost/scm/api"));
lenient().when(configService.getRepositoryPullRequestConfig(REPOSITORY)).thenReturn(new PullRequestConfig());
}
Aggregations