diff --git a/internal/buildengine/languageplugin/go_plugin_integration_test.go b/internal/buildengine/languageplugin/go_plugin_integration_test.go index eec313fabe..5683c8faa9 100644 --- a/internal/buildengine/languageplugin/go_plugin_integration_test.go +++ b/internal/buildengine/languageplugin/go_plugin_integration_test.go @@ -14,7 +14,7 @@ import ( func TestGoBuildClearsBuildDir(t *testing.T) { file := "./another/.ftl/test-clear-build.tmp" in.Run(t, - in.WithTestDataDir("testdata"), + in.WithTestDataDir("../testdata"), in.CopyModule("another"), in.Build("another"), in.WriteFile(file, []byte{1}), @@ -26,7 +26,7 @@ func TestGoBuildClearsBuildDir(t *testing.T) { func TestExternalType(t *testing.T) { in.Run(t, - in.WithTestDataDir("testdata"), + in.WithTestDataDir("../testdata"), in.CopyModule("external"), in.ExpectError(in.Build("external"), `unsupported type "time.Month" for field "Month"`, @@ -43,7 +43,7 @@ func TestGeneratedTypeRegistry(t *testing.T) { file := "other/.ftl/go/main/main.go" in.Run(t, - in.WithTestDataDir("testdata"), + in.WithTestDataDir("../testdata"), // Deploy dependency in.CopyModule("another"), in.Deploy("another"),