@@ -202,7 +202,7 @@ func TestFileManagerService_ConfigApply_Add(t *testing.T) {
202202 data , readErr := os .ReadFile (filePath )
203203 require .NoError (t , readErr )
204204 assert .Equal (t , fileContent , data )
205- assert .Equal (t , fileManagerService .fileActions [filePath ], overview .GetFiles ()[0 ])
205+ assert .Equal (t , fileManagerService .fileActions [filePath ]. File , overview .GetFiles ()[0 ])
206206 assert .Equal (t , 1 , fakeFileServiceClient .GetFileCallCount ())
207207}
208208
@@ -248,7 +248,7 @@ func TestFileManagerService_ConfigApply_Add_LargeFile(t *testing.T) {
248248 data , readErr := os .ReadFile (filePath )
249249 require .NoError (t , readErr )
250250 assert .Equal (t , fileContent , data )
251- assert .Equal (t , fileManagerService .fileActions [filePath ], overview .GetFiles ()[0 ])
251+ assert .Equal (t , fileManagerService .fileActions [filePath ]. File , overview .GetFiles ()[0 ])
252252 assert .Equal (t , 0 , fakeFileServiceClient .GetFileCallCount ())
253253 assert .Equal (t , 53 , int (fakeServerStreamingClient .currentChunkID ))
254254}
0 commit comments