Skip to content

Commit

Permalink
Merge pull request #2286 from opencb/TASK-4376
Browse files Browse the repository at this point in the history
TASK-4376 - CICD: errors in TemplateManagerTest
  • Loading branch information
j-coll committed May 10, 2023
2 parents 0bf5dad + 03a9af1 commit d77e9ad
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ public void test() throws Exception {
catalogManager.getUserManager().create(new User().setId("user4").setName("User 4").setAccount(new Account().setType(Account.AccountType.GUEST)), TestParamConstants.PASSWORD, adminToken);

String token = catalogManager.getUserManager().login("user1", TestParamConstants.PASSWORD).getToken();
catalogManager.getProjectManager().create("project", "Project", "", "name", "common", "GRCh38", QueryOptions.empty(), token);
catalogManager.getProjectManager().create("project", "Project", "", "hsapiens", "common", "GRCh38", QueryOptions.empty(), token);
catalogManager.getStudyManager().create("project", new Study().setId("study"), QueryOptions.empty(), token);

URI resource = catalogManagerResource.getResourceUri("templates/manifest.yml");
Expand Down Expand Up @@ -80,7 +80,7 @@ public void test_yaml() throws Exception {
catalogManager.getUserManager().create(new User().setId("user4").setName("User 4").setAccount(new Account().setType(Account.AccountType.GUEST)), TestParamConstants.PASSWORD, adminToken);

String token = catalogManager.getUserManager().login("user1", TestParamConstants.PASSWORD).getToken();
catalogManager.getProjectManager().create("project", "Project", "", "name", "common", "GRCh38", QueryOptions.empty(), token);
catalogManager.getProjectManager().create("project", "Project", "", "hsapiens", "common", "GRCh38", QueryOptions.empty(), token);
catalogManager.getStudyManager().create("project", new Study().setId("study"), QueryOptions.empty(), token);

URI resource = catalogManagerResource.getResourceUri("templates_yaml/manifest.yml");
Expand Down

0 comments on commit d77e9ad

Please sign in to comment.