diff --git a/test/ODataEndToEnd/Microsoft.OData.Service.Sample.TrippinInMemory/App_Start/WebApiConfig.cs b/test/ODataEndToEnd/Microsoft.OData.Service.Sample.TrippinInMemory/App_Start/WebApiConfig.cs index d5908dfc..b715abfc 100644 --- a/test/ODataEndToEnd/Microsoft.OData.Service.Sample.TrippinInMemory/App_Start/WebApiConfig.cs +++ b/test/ODataEndToEnd/Microsoft.OData.Service.Sample.TrippinInMemory/App_Start/WebApiConfig.cs @@ -1,6 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See License.txt in the project root for license information. +using System; using System.Web.Http; using System.Web.OData; using System.Web.OData.Extensions; @@ -23,9 +24,12 @@ public static void Register(HttpConfiguration config) public static async void RegisterTrippin( HttpConfiguration config, HttpServer server) { + // enable query options for all properties + config.Filter().Expand().Select().OrderBy().MaxTop(null).Count(); + config.SetTimeZoneInfo(TimeZoneInfo.Utc); await config.MapRestierRoute( "TrippinApi", - "api/Trippin", + "api/Trippin", new RestierBatchHandler(server)); } }