5fb3475 certprofile: add tests for config profileId scenarios

3 files Authored by ftweedal 6 years ago, Committed by rcritten 6 years ago,
    certprofile: add tests for config profileId scenarios
    
    Update the certprofile tests to cover the various scenarios
    concerning the profileId property in the profile configuration.
    The scenarios now explicitly tested are:
    
    - profileId not specified (should succeed)
    - mismatched profileId property (should fail)
    - multiple profileId properties (should fail)
    - one profileId property, matching given ID (should succeed)
    
    https://pagure.io/freeipa/issue/7503
    
    Reviewed-By: Rob Crittenden <rcritten@redhat.com>