aboutsummaryrefslogtreecommitdiffstats
path: root/integrations
diff options
context:
space:
mode:
author6543 <6543@obermui.de>2021-02-20 11:17:51 +0100
committerGitHub <noreply@github.com>2021-02-20 11:17:51 +0100
commit190bd0accd3788c91605bd7092a46a3c778a21fd (patch)
tree87a20029408dd60416aac5f1375cef9f87951c04 /integrations
parentdb07aedd32d777b1f422f0bb810c73ecc6e44336 (diff)
downloadgitea-190bd0accd3788c91605bd7092a46a3c778a21fd.tar.gz
gitea-190bd0accd3788c91605bd7092a46a3c778a21fd.zip
Export LFS & TimeTracking function status (#14753)
Diffstat (limited to 'integrations')
-rw-r--r--integrations/api_settings_test.go8
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)