summaryrefslogtreecommitdiffstats
path: root/integrations/lfs_getobject_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'integrations/lfs_getobject_test.go')
-rw-r--r--integrations/lfs_getobject_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/integrations/lfs_getobject_test.go b/integrations/lfs_getobject_test.go
index 42b64612fd..bb269d5eeb 100644
--- a/integrations/lfs_getobject_test.go
+++ b/integrations/lfs_getobject_test.go
@@ -39,7 +39,7 @@ func storeObjectInRepo(t *testing.T, repositoryID int64, content *[]byte) string
assert.NoError(t, err)
var lfsMetaObject *models.LFSMetaObject
- if setting.UsePostgreSQL {
+ if setting.Database.UsePostgreSQL {
lfsMetaObject = &models.LFSMetaObject{ID: lfsID, Oid: oid, Size: int64(len(*content)), RepositoryID: repositoryID}
} else {
lfsMetaObject = &models.LFSMetaObject{Oid: oid, Size: int64(len(*content)), RepositoryID: repositoryID}