From 7ededb25667cf3f00dfd046ea7fa4fdd854f91c4 Mon Sep 17 00:00:00 2001 From: James Date: Wed, 16 Aug 2017 11:27:47 -0700 Subject: [PATCH] Fix tests --- test/fn-api-tests/routes_api.go | 2 +- test/fn-api-tests/utils.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/fn-api-tests/routes_api.go b/test/fn-api-tests/routes_api.go index 3b7029e53..9645104fc 100644 --- a/test/fn-api-tests/routes_api.go +++ b/test/fn-api-tests/routes_api.go @@ -150,7 +150,7 @@ func GetRoute(t *testing.T, ctx context.Context, fnclient *client.Functions, app return routeResponse.Payload.Route } -func UpdateRoute(t *testing.T, ctx context.Context, fnclient *client.Functions, appName, routePath, image, routeType, format string, memory int64, routeConfig map[string]string, headers map[string][]string, newRoutePath string) (*routes.PatchAppsAppRoutesRouteOK, error) { +func UpdateRoute(t *testing.T, ctx context.Context, fnclient *client.Functions, appName, routePath, image, routeType, format string, memory uint64, routeConfig map[string]string, headers map[string][]string, newRoutePath string) (*routes.PatchAppsAppRoutesRouteOK, error) { routeObject := GetRoute(t, ctx, fnclient, appName, routePath) if routeObject.Config == nil { diff --git a/test/fn-api-tests/utils.go b/test/fn-api-tests/utils.go index 646982427..b8a4de063 100644 --- a/test/fn-api-tests/utils.go +++ b/test/fn-api-tests/utils.go @@ -103,7 +103,7 @@ type SuiteSetup struct { Image string RouteType string Format string - Memory int64 + Memory uint64 RouteConfig map[string]string RouteHeaders map[string][]string Cancel context.CancelFunc