@@ -38,12 +38,7 @@ func TestPlatformSearch(t *testing.T) {
38
38
ctx := context .Background ()
39
39
srv := NewArduinoCoreServer ()
40
40
41
- conf , err := paths .TempDir ().Join ("test" , "arduino-cli.yaml" ).ReadFile ()
42
- require .NoError (t , err )
43
- _ , err = srv .ConfigurationOpen (ctx , & rpc.ConfigurationOpenRequest {
44
- SettingsFormat : "yaml" ,
45
- EncodedSettings : string (conf ),
46
- })
41
+ _ , err = srv .ConfigurationOpen (ctx , & rpc.ConfigurationOpenRequest {SettingsFormat : "yaml" })
47
42
require .NoError (t , err )
48
43
49
44
createResp , err := srv .Create (ctx , & rpc.CreateRequest {})
@@ -347,12 +342,7 @@ func TestPlatformSearchSorting(t *testing.T) {
347
342
ctx := context .Background ()
348
343
srv := NewArduinoCoreServer ()
349
344
350
- conf , err := paths .TempDir ().Join ("test" , "arduino-cli.yaml" ).ReadFile ()
351
- require .NoError (t , err )
352
- _ , err = srv .ConfigurationOpen (ctx , & rpc.ConfigurationOpenRequest {
353
- SettingsFormat : "yaml" ,
354
- EncodedSettings : string (conf ),
355
- })
345
+ _ , err = srv .ConfigurationOpen (ctx , & rpc.ConfigurationOpenRequest {SettingsFormat : "yaml" })
356
346
require .NoError (t , err )
357
347
358
348
createResp , err := srv .Create (ctx , & rpc.CreateRequest {})
0 commit comments