diff --git a/bundle/config/mutator/translate_paths_apps_test.go b/bundle/config/mutator/translate_paths_apps_test.go index 7ca0412d..5692934b 100644 --- a/bundle/config/mutator/translate_paths_apps_test.go +++ b/bundle/config/mutator/translate_paths_apps_test.go @@ -25,6 +25,9 @@ func TestTranslatePathsApps_FilePathRelativeSubDirectory(t *testing.T) { SyncRootPath: dir, SyncRoot: vfs.MustNew(dir), Config: config.Root{ + Workspace: config.Workspace{ + FilePath: "/bundle/files", + }, Resources: config.Resources{ Apps: map[string]*resources.App{ "app": { @@ -48,7 +51,7 @@ func TestTranslatePathsApps_FilePathRelativeSubDirectory(t *testing.T) { // Assert that the file path for the app has been converted to its local absolute path. assert.Equal( t, - filepath.Join("src", "app"), + "/bundle/files/src/app", b.Config.Resources.Apps["app"].SourceCodePath, ) }