mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-20 12:52:43 +00:00
Test cases for custom workflows
This commit is contained in:
parent
87f02be3eb
commit
dfca8f9781
@ -2614,7 +2614,11 @@ public class GlossaryTermResourceTest extends EntityResourceTest<GlossaryTerm, C
|
|||||||
String origJson = JsonUtils.pojoToJson(approvedTerm);
|
String origJson = JsonUtils.pojoToJson(approvedTerm);
|
||||||
approvedTerm.setDescription(updatedDescription);
|
approvedTerm.setDescription(updatedDescription);
|
||||||
GlossaryTerm updatedTerm =
|
GlossaryTerm updatedTerm =
|
||||||
patchEntityUsingFqn(approvedTerm.getFullyQualifiedName(), origJson, approvedTerm, authHeaders(USER2.getName()));
|
patchEntityUsingFqn(
|
||||||
|
approvedTerm.getFullyQualifiedName(),
|
||||||
|
origJson,
|
||||||
|
approvedTerm,
|
||||||
|
authHeaders(USER2.getName()));
|
||||||
|
|
||||||
// Wait for new task to be created for the update
|
// Wait for new task to be created for the update
|
||||||
waitForDetailedTaskToBeCreated(term.getFullyQualifiedName(), 60000L);
|
waitForDetailedTaskToBeCreated(term.getFullyQualifiedName(), 60000L);
|
||||||
@ -2685,7 +2689,11 @@ public class GlossaryTermResourceTest extends EntityResourceTest<GlossaryTerm, C
|
|||||||
String origJson = JsonUtils.pojoToJson(approvedTerm);
|
String origJson = JsonUtils.pojoToJson(approvedTerm);
|
||||||
approvedTerm.setDescription(updateDescription);
|
approvedTerm.setDescription(updateDescription);
|
||||||
GlossaryTerm updatedTerm =
|
GlossaryTerm updatedTerm =
|
||||||
patchEntityUsingFqn(approvedTerm.getFullyQualifiedName(), origJson, approvedTerm, authHeaders(USER2.getName()));
|
patchEntityUsingFqn(
|
||||||
|
approvedTerm.getFullyQualifiedName(),
|
||||||
|
origJson,
|
||||||
|
approvedTerm,
|
||||||
|
authHeaders(USER2.getName()));
|
||||||
|
|
||||||
// Wait for detailed task to be created
|
// Wait for detailed task to be created
|
||||||
waitForDetailedTaskToBeCreated(term.getFullyQualifiedName(), 60000L);
|
waitForDetailedTaskToBeCreated(term.getFullyQualifiedName(), 60000L);
|
||||||
|
|||||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user