mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-11-19 04:13:48 +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);
|
||||
approvedTerm.setDescription(updatedDescription);
|
||||
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
|
||||
waitForDetailedTaskToBeCreated(term.getFullyQualifiedName(), 60000L);
|
||||
@ -2685,7 +2689,11 @@ public class GlossaryTermResourceTest extends EntityResourceTest<GlossaryTerm, C
|
||||
String origJson = JsonUtils.pojoToJson(approvedTerm);
|
||||
approvedTerm.setDescription(updateDescription);
|
||||
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
|
||||
waitForDetailedTaskToBeCreated(term.getFullyQualifiedName(), 60000L);
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
Loading…
x
Reference in New Issue
Block a user