Skip to content

Commit

Permalink
Set 3
Browse files Browse the repository at this point in the history
  • Loading branch information
kaladay committed Aug 3, 2022
1 parent e306860 commit 7735d7c
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,10 +208,10 @@ 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);
/*
*/
when(TEST_REPOSITORY1.getId()).thenReturn(TEST_REPOSITORY1_ID);
when(TEST_REPOSITORY1.createIssue(any(String.class)).body(any(String.class)).create()).thenReturn(TEST_ISSUE1);
when(TEST_REPOSITORY1.listProjects(any(ProjectStateFilter.class)).asList()).thenReturn(TEST_PROJECTS);
Expand All @@ -221,7 +221,7 @@ public void setUp() throws Exception {
when(TEST_REPOSITORY2.listProjects().asList()).thenReturn(TEST_PROJECTS);
when(TEST_REPOSITORY1.listLabels().asList()).thenReturn(ALL_TEST_LABELS);
when(TEST_REPOSITORY2.listLabels().asList()).thenReturn(ALL_TEST_LABELS);
/*
when(TEST_PROJECT1.listColumns().asList()).thenReturn(TEST_PROJECT_COLUMNS);
when(TEST_PROJECT2.listColumns().asList()).thenReturn(TEST_PROJECT_COLUMNS);
when(TEST_PROJECT3.listColumns().asList()).thenReturn(TEST_PROJECT_COLUMNS);
Expand Down

0 comments on commit 7735d7c

Please sign in to comment.