mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-10-24 23:29:18 -04:00
Reuse dummy settings array
This commit is contained in:
1 file changed
+1
-12
@@ -651,18 +651,7 @@ func TestGetSettingsBundleAccessOtherBundle(t *testing.T) {
|
||||
BundleKey: "alice-bundle",
|
||||
},
|
||||
DisplayName: "alice settings bundle",
|
||||
Settings: []*proto.Setting{
|
||||
{
|
||||
DisplayName: "dummy setting",
|
||||
SettingKey: "dummy-setting",
|
||||
Value: &proto.Setting_IntValue{
|
||||
IntValue: &proto.IntSetting{
|
||||
Default: 42,
|
||||
},
|
||||
},
|
||||
Description: "dummy setting",
|
||||
},
|
||||
},
|
||||
Settings: dummySettings,
|
||||
}
|
||||
createRequest := proto.SaveSettingsBundleRequest{
|
||||
SettingsBundle: &aliceBundle,
|
||||
|
||||
Reference in new issue
Block a user