Skip to content

Commit

Permalink
Set all
Browse files Browse the repository at this point in the history
  • Loading branch information
kaladay committed Aug 3, 2022
1 parent e803c7b commit e11e998
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ public class GitHubProjectServiceTest extends CacheMockTests {
@BeforeEach
public void setUp() throws Exception {
ManagementService managementService = new RemoteProjectManager("GitHub", ServiceType.GITHUB_PROJECT, TEST_PROJECT_URL1, TEST_PROJECT_TOKEN1);
/*

when(TEST_ORGANIZATION.getRepositories()).thenReturn(TEST_REPOSITORY_MAP);
when(TEST_ORGANIZATION.listProjects(any(ProjectStateFilter.class)).asList()).thenReturn(TEST_PROJECTS);

Expand Down Expand Up @@ -280,7 +280,7 @@ public void setUp() throws Exception {
when(TEST_FEATURE_REQUEST.getProductId()).thenReturn(TEST_REPOSITORY1_ID);
when(TEST_FEATURE_REQUEST.getTitle()).thenReturn(TEST_FEATURE_REQUEST_TITLE);
when(TEST_FEATURE_REQUEST.getDescription()).thenReturn(TEST_FEATURE_REQUEST_DESCRIPTION);
*/

when(restTemplate.exchange(any(String.class), any(HttpMethod.class), any(HttpEntity.class), any(Class.class)))
.thenAnswer(new Answer<ResponseEntity<byte[]>>() {
@Override
Expand Down

0 comments on commit e11e998

Please sign in to comment.