mirror of
				https://github.com/datahub-project/datahub.git
				synced 2025-10-31 02:37:05 +00:00 
			
		
		
		
	Remove test related to edit steps for old compliance wizard
This commit is contained in:
		
							parent
							
								
									fdfa37695b
								
							
						
					
					
						commit
						dc456343ca
					
				| @ -62,24 +62,6 @@ module('Unit | Constants | dataset compliance', function() { | ||||
|     ); | ||||
|   }); | ||||
| 
 | ||||
|   test('getComplianceSteps function should behave as expected', function(assert) { | ||||
|     assert.expect(3); | ||||
|     const piiTaggingStep = { 0: { name: 'editDatasetLevelCompliancePolicy' } }; | ||||
|     let result; | ||||
| 
 | ||||
|     assert.equal(typeof getComplianceSteps, 'function', 'getComplianceSteps is a function'); | ||||
|     result = getComplianceSteps(); | ||||
| 
 | ||||
|     assert.deepEqual(result, complianceSteps, 'getComplianceSteps result is expected shape when no args are passed'); | ||||
| 
 | ||||
|     result = getComplianceSteps(false); | ||||
|     assert.deepEqual( | ||||
|       result, | ||||
|       { ...complianceSteps, ...piiTaggingStep }, | ||||
|       'getComplianceSteps result is expected shape when hasSchema attribute is false' | ||||
|     ); | ||||
|   }); | ||||
| 
 | ||||
|   test('getFieldIdentifierOption function should behave as expected', function(assert) { | ||||
|     const [complianceType] = complianceDataTypes; | ||||
|     let result; | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user
	 cptran777
						cptran777