diff --git a/http-gateway/service/getHubConfiguration_test.go b/http-gateway/service/getHubConfiguration_test.go index 76c881306..fba747935 100644 --- a/http-gateway/service/getHubConfiguration_test.go +++ b/http-gateway/service/getHubConfiguration_test.go @@ -30,6 +30,7 @@ func TestRequestHandlerGetHubConfiguration(t *testing.T) { expected.Ui = &pb.UIConfiguration{ Visibility: httpCfg.UI.WebConfiguration.Visibility.ToProto(), DeviceProvisioningService: httpCfg.UI.WebConfiguration.DeviceProvisioningService, + SnippetService: httpCfg.UI.WebConfiguration.SnippetService, } tests := []struct { name string diff --git a/snippet-service/service/http/invokeConfiguration_test.go b/snippet-service/service/http/invokeConfiguration_test.go index 2d91f5197..b6cc74b79 100644 --- a/snippet-service/service/http/invokeConfiguration_test.go +++ b/snippet-service/service/http/invokeConfiguration_test.go @@ -253,7 +253,7 @@ func TestRequestHandlerInvokeConfiguration(t *testing.T) { require.NoError(t, err) require.NotEmpty(t, conf2.GetId()) - logger.Infof("invoke configuration fail: missing owner in token") + logger.Infof("fail invoke configuration: missing owner in token") tokenWithoutOwner := oauthTest.GetAccessToken(t, config.OAUTH_SERVER_HOST, oauthTest.ClientTest, map[string]interface{}{ snippetCfg.APIs.GRPC.Authorization.OwnerClaim: nil, }) @@ -265,7 +265,7 @@ func TestRequestHandlerInvokeConfiguration(t *testing.T) { require.Equal(t, http.StatusForbidden, code) require.Error(t, err) - logger.Infof("invoke configuration fail: missing deviceID") + logger.Infof("fail invoke configuration: missing deviceID") _, code, err = invokeConfiguration(ctxWithToken, t, conf1.GetId(), token, &pb.InvokeConfigurationRequest{ ConfigurationId: conf1.GetId(), CorrelationId: uuid.NewString(),