35a200d tests: adapt sysdb-tests to files_provider

1 file Authored by fidencio 5 years ago, Committed by jhrozek 5 years ago,
    tests: adapt sysdb-tests to files_provider
    
    Let's take advantage of the files provider and start to get rid of the
    local provider references in our code.
    
    Apart from the obvious change from "local" to "files" and from "LOCAL"
    to "FILES", we're also passing a static uid/gid to the sysdb_add_user()
    function in order to avoid calling sysdb_get_new_id(), which only should
    be used with the "local" provider. Another change doneis to explicitly
    set mpg to true as it was enabled by default when using the "local"
    provider.
    
    Related:
    https://pagure.io/SSSD/sssd/issue/3304
    
    Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com>
    
    Reviewed-by: Jakub Hrozek <jhrozek@redhat.com>
    Reviewed-by: Pavel Březina <pbrezina@redhat.com>
    
        
file modified
+29 -22