diff --git a/cmd/restic/integration_test.go b/cmd/restic/integration_test.go index 73e5bb409..1604f0908 100644 --- a/cmd/restic/integration_test.go +++ b/cmd/restic/integration_test.go @@ -1100,7 +1100,7 @@ func TestFindJSON(t *testing.T) { func TestRebuildIndex(t *testing.T) { withTestEnvironment(t, func(env *testEnvironment, gopts GlobalOptions) { - datafile := filepath.Join("..", "..", "restic", "checker", "testdata", "duplicate-packs-in-index-test-repo.tar.gz") + datafile := filepath.Join("..", "..", "internal", "checker", "testdata", "duplicate-packs-in-index-test-repo.tar.gz") SetupTarTestFixture(t, env.base, datafile) out, err := testRunCheckOutput(gopts) diff --git a/cmd/restic/local_layout_test.go b/cmd/restic/local_layout_test.go index 264ef997e..397fa2305 100644 --- a/cmd/restic/local_layout_test.go +++ b/cmd/restic/local_layout_test.go @@ -20,7 +20,7 @@ func TestRestoreLocalLayout(t *testing.T) { } for _, test := range tests { - datafile := filepath.Join("..", "..", "restic", "backend", "testdata", test.filename) + datafile := filepath.Join("..", "..", "internal", "backend", "testdata", test.filename) SetupTarTestFixture(t, env.base, datafile)