Skip to content

Commit

Permalink
Merge pull request #19782 from Lakshan-Banneheke/master-update-tests
Browse files Browse the repository at this point in the history
Update description in governance connector update tests
  • Loading branch information
ayeshajay authored Mar 7, 2024
2 parents b6303d8 + 21d4ba2 commit 85d7d21
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public void testSearchInvalidGovernanceConnectorProperties() throws IOException
"SelfRegistration.Enble");
}

@Test
@Test(description = "Update governance connectors with incorrect category ID.")
public void testUpdateGovernanceConnectorsIncorrectCategoryID() throws IOException {

String body = readResource("update-multiple-connector-properties.json");
Expand All @@ -124,7 +124,7 @@ public void testUpdateGovernanceConnectorsIncorrectCategoryID() throws IOExcepti
validateErrorResponse(response, HttpStatus.SC_NOT_FOUND, "IDG-50008");
}

@Test
@Test(description = "Update governance connectors with incorrect connector ID.")
public void testUpdateGovernanceConnectorsIncorrectConnectorID() throws IOException {

String body = readResource("update-multiple-connector-properties-incorrect.json");
Expand All @@ -133,7 +133,7 @@ public void testUpdateGovernanceConnectorsIncorrectConnectorID() throws IOExcept
validateErrorResponse(response, HttpStatus.SC_NOT_FOUND, "IDG-50009");
}

@Test
@Test(description = "Update governance connectors with a mismatching category.")
public void testUpdateGovernanceConnectorsMismatch() throws IOException {

String body = readResource("update-multiple-connector-properties.json");
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ public void testUpdateGovernanceConnector() throws IOException {
equalTo("91"));
}

@Test
@Test(description = "Update governance connectors with correct data.")
public void testUpdateGovernanceConnectors() throws IOException {

String body = readResource("update-multiple-connector-properties.json");
Expand Down

0 comments on commit 85d7d21

Please sign in to comment.