summaryrefslogtreecommitdiffstats
path: root/tests/integration/api_packages_chef_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'tests/integration/api_packages_chef_test.go')
-rw-r--r--tests/integration/api_packages_chef_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/integration/api_packages_chef_test.go b/tests/integration/api_packages_chef_test.go
index 0ee43e1741..4a1fe2607e 100644
--- a/tests/integration/api_packages_chef_test.go
+++ b/tests/integration/api_packages_chef_test.go
@@ -83,7 +83,7 @@ kPuCu6vH9brvOuYo0q8hLVNkBeXcimRpsDjLhQYzEJjoMTbaiVGnjBky+PWNiofJ
nwIDAQAB
-----END PUBLIC KEY-----`
- err := user_model.SetUserSetting(user.ID, chef_module.SettingPublicPem, pubPem)
+ err := user_model.SetUserSetting(db.DefaultContext, user.ID, chef_module.SettingPublicPem, pubPem)
assert.NoError(t, err)
t.Run("Authenticate", func(t *testing.T) {