mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
Fixing master (#13900)
* updating api_timer_layer_generated.go * Fixing GetFileInfos * Fixing TestPluginAPIGetFileInfos * Remove file.go.orig
This commit is contained in:
@@ -367,7 +367,7 @@ func TestPluginAPIGetFileInfos(t *testing.T) {
|
||||
)
|
||||
require.Nil(t, err)
|
||||
defer func() {
|
||||
th.App.Srv.Store.FileInfo().PermanentDelete(fileInfo1.Id)
|
||||
th.App.Srv().Store.FileInfo().PermanentDelete(fileInfo1.Id)
|
||||
th.App.RemoveFile(fileInfo1.Path)
|
||||
}()
|
||||
|
||||
@@ -381,7 +381,7 @@ func TestPluginAPIGetFileInfos(t *testing.T) {
|
||||
)
|
||||
require.Nil(t, err)
|
||||
defer func() {
|
||||
th.App.Srv.Store.FileInfo().PermanentDelete(fileInfo2.Id)
|
||||
th.App.Srv().Store.FileInfo().PermanentDelete(fileInfo2.Id)
|
||||
th.App.RemoveFile(fileInfo2.Path)
|
||||
}()
|
||||
|
||||
@@ -395,7 +395,7 @@ func TestPluginAPIGetFileInfos(t *testing.T) {
|
||||
)
|
||||
require.Nil(t, err)
|
||||
defer func() {
|
||||
th.App.Srv.Store.FileInfo().PermanentDelete(fileInfo3.Id)
|
||||
th.App.Srv().Store.FileInfo().PermanentDelete(fileInfo3.Id)
|
||||
th.App.RemoveFile(fileInfo3.Path)
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user