mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-12-29 08:29:09 +00:00
Update to chart tests to check patched entity
This commit is contained in:
parent
d8cbb0acca
commit
4880641cff
@ -659,7 +659,6 @@ public class ChartResourceTest extends EntityTestHelper<Chart> {
|
||||
CreateChart createRequest = (CreateChart) request;
|
||||
validateCommonEntityFields(getEntityInterface(chart), createRequest.getDescription(),
|
||||
TestUtils.getPrincipal(authHeaders), createRequest.getOwner());
|
||||
// TODO add display name
|
||||
assertService(createRequest.getService(), chart.getService());
|
||||
}
|
||||
|
||||
@ -669,7 +668,10 @@ public class ChartResourceTest extends EntityTestHelper<Chart> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public void validatePatchedEntity(Chart expected, Chart updated, Map<String, String> authHeaders) {
|
||||
public void validatePatchedEntity(Chart expected, Chart patched, Map<String, String> authHeaders) {
|
||||
validateCommonEntityFields(getEntityInterface(patched), expected.getDescription(),
|
||||
TestUtils.getPrincipal(authHeaders), expected.getOwner());
|
||||
assertService(expected.getService(), patched.getService());
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user