test: update scope.FilesByGlob, it is now part of Resolver

Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
Alfredo Deza 2020-08-18 11:31:07 -04:00
parent b8e9431f89
commit b0c6dc2fb1

View file

@ -18,7 +18,7 @@ import (
func getPackagesByPath(t *testing.T, theScope scope.Scope, catalog *pkg.Catalog, thePath string) []*pkg.Package {
t.Helper()
refs, err := theScope.FilesByGlob(thePath)
refs, err := theScope.Resolver.FilesByGlob(thePath)
if err != nil {
t.Fatalf("could not get ref by path %q: %+v", thePath, err)
}