ukf / ukf-testbed

UK federation tooling testbed
Apache License 2.0
1 stars 1 forks source link

Fix misc/bad_misc_scope_bare_ac_uk on MDA 0.10 #79

Closed iay closed 8 months ago

iay commented 9 months ago

Changes in MDA 0.10 mean some tests are failing because of mismatched component IDs:

Test failures were detected:
*** result mismatch in misc/bad_misc_scope_bare_ac_uk on v010x's default validator
   expected result: 
---
- status: error
  component_id: check_misc
  message: bare 'ac.uk' scope not permitted
- status: error
  component_id: domainName/publicSuffix
  message: 'scope is a public suffix: ''ac.uk'''
   actual result:
---
- status: error
  component_id: check_misc
  message: bare 'ac.uk' scope not permitted
- status: error
  component_id: checkScopes/domainName/publicSuffix
  message: 'scope is a public suffix: ''ac.uk'''

*** result mismatch in misc/bad_misc_scope_bare_ac_uk on v010's default validator
   expected result: 
---
- status: error
  component_id: check_misc
  message: bare 'ac.uk' scope not permitted
- status: error
  component_id: domainName/publicSuffix
  message: 'scope is a public suffix: ''ac.uk'''
   actual result:
---
- status: error
  component_id: check_misc
  message: bare 'ac.uk' scope not permitted
- status: error
  component_id: checkScopes/domainName/publicSuffix
  message: 'scope is a public suffix: ''ac.uk'''

These are expected differences; MDA 0.10 now has better handling of validation contexts.

Fix this using the override mechanism, when that exists.