diff --git a/itests/deals_partial_retrieval_test.go b/itests/deals_partial_retrieval_test.go index 8c7775588..4b3b90f02 100644 --- a/itests/deals_partial_retrieval_test.go +++ b/itests/deals_partial_retrieval_test.go @@ -137,13 +137,14 @@ func TestPartialRetrieval(t *testing.T) { DatamodelPathSelector: &textSelectorNonexistent, }, api.ExportRef{ + Root: carRoot, FromLocalCAR: sourceCar, DatamodelPathSelector: &textSelectorNonexistent, }, &api.FileRef{}, nil, ), - fmt.Sprintf("retrieval failed: path selection '%s' does not match a node within %s", textSelectorNonexistent, carRoot), + fmt.Sprintf("path selection does not match a node within %s", carRoot), ) // ensure non-boundary retrievals fail @@ -157,13 +158,14 @@ func TestPartialRetrieval(t *testing.T) { DatamodelPathSelector: &textSelectorNonLink, }, api.ExportRef{ + Root: carRoot, FromLocalCAR: sourceCar, DatamodelPathSelector: &textSelectorNonLink, }, &api.FileRef{}, nil, ), - fmt.Sprintf("retrieval failed: error while locating partial retrieval sub-root: unsupported selection path '%s' does not correspond to a block boundary (a.k.a. CID link)", textSelectorNonLink), + fmt.Sprintf("error while locating partial retrieval sub-root: unsupported selection path '%s' does not correspond to a block boundary (a.k.a. CID link)", textSelectorNonLink), ) }