mirror of
https://github.com/datahub-project/datahub.git
synced 2025-08-30 20:15:56 +00:00
fix test case for initialComplianceInfo result
This commit is contained in:
parent
0e469f2e67
commit
71f0ee9151
@ -13,7 +13,7 @@ import {
|
|||||||
import complianceDataTypes from 'wherehows-web/mirage/fixtures/compliance-data-types';
|
import complianceDataTypes from 'wherehows-web/mirage/fixtures/compliance-data-types';
|
||||||
import { mockTimeStamps } from 'wherehows-web/tests/helpers/datasets/compliance-policy/recent-suggestions-constants';
|
import { mockTimeStamps } from 'wherehows-web/tests/helpers/datasets/compliance-policy/recent-suggestions-constants';
|
||||||
import { mockFieldChangeSets } from 'wherehows-web/tests/helpers/datasets/compliance-policy/field-changeset-constants';
|
import { mockFieldChangeSets } from 'wherehows-web/tests/helpers/datasets/compliance-policy/field-changeset-constants';
|
||||||
import { hdfsUrn, urn } from 'wherehows-web/mirage/fixtures/urn';
|
import { hdfsUrn } from 'wherehows-web/mirage/fixtures/urn';
|
||||||
|
|
||||||
module('Unit | Constants | dataset compliance');
|
module('Unit | Constants | dataset compliance');
|
||||||
|
|
||||||
@ -21,7 +21,7 @@ test('initialComplianceObjectFactory', function(assert) {
|
|||||||
assert.expect(2);
|
assert.expect(2);
|
||||||
const mockUrn = hdfsUrn;
|
const mockUrn = hdfsUrn;
|
||||||
const initialComplianceInfo = {
|
const initialComplianceInfo = {
|
||||||
datasetUrn: urn,
|
datasetUrn: mockUrn,
|
||||||
datasetId: null,
|
datasetId: null,
|
||||||
complianceType: '',
|
complianceType: '',
|
||||||
compliancePurgeNote: '',
|
compliancePurgeNote: '',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user