From 6e2fe244ca5e812e4535c2c3c737e7a064367506 Mon Sep 17 00:00:00 2001 From: Benedikt Kulmann Date: Thu, 4 Jun 2020 11:37:36 +0200 Subject: [PATCH] Reuse dummy settings array --- pkg/proto/v0/settings.pb.micro_test.go | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/pkg/proto/v0/settings.pb.micro_test.go b/pkg/proto/v0/settings.pb.micro_test.go index d8fa07e34e..866080f338 100644 --- a/pkg/proto/v0/settings.pb.micro_test.go +++ b/pkg/proto/v0/settings.pb.micro_test.go @@ -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,