diff options
author | 6543 <6543@obermui.de> | 2021-02-20 11:17:51 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-20 11:17:51 +0100 |
commit | 190bd0accd3788c91605bd7092a46a3c778a21fd (patch) | |
tree | 87a20029408dd60416aac5f1375cef9f87951c04 /integrations/api_settings_test.go | |
parent | db07aedd32d777b1f422f0bb810c73ecc6e44336 (diff) | |
download | gitea-190bd0accd3788c91605bd7092a46a3c778a21fd.tar.gz gitea-190bd0accd3788c91605bd7092a46a3c778a21fd.zip |
Export LFS & TimeTracking function status (#14753)
Diffstat (limited to 'integrations/api_settings_test.go')
-rw-r--r-- | integrations/api_settings_test.go | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/integrations/api_settings_test.go b/integrations/api_settings_test.go index 19a0053876..fdd8b02d62 100644 --- a/integrations/api_settings_test.go +++ b/integrations/api_settings_test.go @@ -43,9 +43,11 @@ func TestAPIExposedSettings(t *testing.T) { DecodeJSON(t, resp, &repo) assert.EqualValues(t, &api.GeneralRepoSettings{ - MirrorsDisabled: setting.Repository.DisableMirrors, - HTTPGitDisabled: setting.Repository.DisableHTTPGit, - MigrationsDisabled: setting.Repository.DisableMigrations, + MirrorsDisabled: setting.Repository.DisableMirrors, + HTTPGitDisabled: setting.Repository.DisableHTTPGit, + MigrationsDisabled: setting.Repository.DisableMigrations, + TimeTrackingDisabled: false, + LFSDisabled: !setting.LFS.StartServer, }, repo) attachment := new(api.GeneralAttachmentSettings) |