@@ -114,7 +114,7 @@ func runTenantSchemaTest(t *testing.T, testDataDir string) {
114114 defer containerInfo .Terminate (ctx , t )
115115
116116 // Load public schema types first
117- publicSQL , err := os .ReadFile (fmt .Sprintf ("../../testdata/%s/public.sql" , testDataDir ))
117+ publicSQL , err := os .ReadFile (fmt .Sprintf ("../../testdata/dump/ %s/public.sql" , testDataDir ))
118118 if err != nil {
119119 t .Fatalf ("Failed to read public.sql: %v" , err )
120120 }
@@ -134,7 +134,7 @@ func runTenantSchemaTest(t *testing.T, testDataDir string) {
134134 }
135135
136136 // Read the tenant SQL
137- tenantSQL , err := os .ReadFile (fmt .Sprintf ("../../testdata/%s/pgschema.sql" , testDataDir ))
137+ tenantSQL , err := os .ReadFile (fmt .Sprintf ("../../testdata/dump/ %s/pgschema.sql" , testDataDir ))
138138 if err != nil {
139139 t .Fatalf ("Failed to read tenant.sql: %v" , err )
140140 }
@@ -187,7 +187,7 @@ func runTenantSchemaTest(t *testing.T, testDataDir string) {
187187 }
188188
189189 // Read expected output
190- expectedBytes , err := os .ReadFile (fmt .Sprintf ("../../testdata/%s/pgschema.sql" , testDataDir ))
190+ expectedBytes , err := os .ReadFile (fmt .Sprintf ("../../testdata/dump/ %s/pgschema.sql" , testDataDir ))
191191 if err != nil {
192192 t .Fatalf ("Failed to read expected output: %v" , err )
193193 }
0 commit comments