Fix tests

This commit is contained in:
James
2017-08-16 11:27:47 -07:00
parent f46ea14760
commit 7ededb2566
2 changed files with 2 additions and 2 deletions

View File

@@ -150,7 +150,7 @@ func GetRoute(t *testing.T, ctx context.Context, fnclient *client.Functions, app
return routeResponse.Payload.Route 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) routeObject := GetRoute(t, ctx, fnclient, appName, routePath)
if routeObject.Config == nil { if routeObject.Config == nil {

View File

@@ -103,7 +103,7 @@ type SuiteSetup struct {
Image string Image string
RouteType string RouteType string
Format string Format string
Memory int64 Memory uint64
RouteConfig map[string]string RouteConfig map[string]string
RouteHeaders map[string][]string RouteHeaders map[string][]string
Cancel context.CancelFunc Cancel context.CancelFunc