[MM-61302] Use model.NewPointer throughout the code base (#28957)

Этот коммит содержится в:
Ben Schumacher
2024-10-29 13:29:53 +01:00
коммит произвёл GitHub
родитель 97c7c25820
Коммит 2424358b7d
10 изменённых файлов: 804 добавлений и 849 удалений

Просмотреть файл

@@ -273,7 +273,7 @@ func TestUpdateConfig(t *testing.T) {
require.Equal(t, nonEmptyURL, *cfg.ServiceSettings.SiteURL)
// Check that the Site URL can't be cleared
cfg.ServiceSettings.SiteURL = sToP("")
cfg.ServiceSettings.SiteURL = model.NewPointer("")
cfg, resp, err = th.SystemAdminClient.UpdateConfig(context.Background(), cfg)
require.Error(t, err)
CheckBadRequestStatus(t, resp)