Included file-scope namespace statement for using
This commit is contained in:
parent
6833ad3621
commit
074025644a
@ -1,9 +1,5 @@
|
||||
using Microsoft.AspNetCore.Http;
|
||||
using System.Security.Claims;
|
||||
using System.Threading.Tasks;
|
||||
namespace Ordering.FunctionalTests;
|
||||
|
||||
namespace Ordering.FunctionalTests
|
||||
{
|
||||
class AutoAuthorizeMiddleware
|
||||
{
|
||||
public const string IDENTITY_ID = "9e3163b9-1ae6-4652-9dc6-7898ab7b7a00";
|
||||
@ -28,4 +24,3 @@ namespace Ordering.FunctionalTests
|
||||
await _next.Invoke(httpContext);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,9 +1,5 @@
|
||||
using Microsoft.AspNetCore.TestHost;
|
||||
using System;
|
||||
using System.Net.Http;
|
||||
namespace Ordering.FunctionalTests;
|
||||
|
||||
namespace Ordering.FunctionalTests
|
||||
{
|
||||
static class HttpClientExtensions
|
||||
{
|
||||
public static HttpClient CreateIdempotentClient(this TestServer server)
|
||||
@ -13,4 +9,3 @@ namespace Ordering.FunctionalTests
|
||||
return client;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,18 +1,5 @@
|
||||
using Microsoft.AspNetCore.Hosting;
|
||||
using Microsoft.AspNetCore.TestHost;
|
||||
using Microsoft.eShopOnContainers.BuildingBlocks.IntegrationEventLogEF;
|
||||
using Microsoft.eShopOnContainers.Services.Ordering.API;
|
||||
using Microsoft.eShopOnContainers.Services.Ordering.API.Infrastructure;
|
||||
using Microsoft.eShopOnContainers.Services.Ordering.Infrastructure;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Options;
|
||||
using System.IO;
|
||||
using System.Reflection;
|
||||
namespace Ordering.FunctionalTests;
|
||||
|
||||
namespace Ordering.FunctionalTests
|
||||
{
|
||||
public class OrderingScenarioBase
|
||||
{
|
||||
public TestServer CreateServer()
|
||||
@ -62,4 +49,3 @@ namespace Ordering.FunctionalTests
|
||||
public static string ShipOrder = "api/v1/orders/ship";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,12 +1,5 @@
|
||||
using Microsoft.AspNetCore.Builder;
|
||||
using Microsoft.AspNetCore.Routing;
|
||||
using Microsoft.eShopOnContainers.Services.Ordering.API;
|
||||
using Microsoft.Extensions.Configuration;
|
||||
using Microsoft.Extensions.DependencyInjection;
|
||||
using System;
|
||||
namespace Ordering.FunctionalTests;
|
||||
|
||||
namespace Ordering.FunctionalTests
|
||||
{
|
||||
public class OrderingTestsStartup : Startup
|
||||
{
|
||||
public OrderingTestsStartup(IConfiguration env) : base(env)
|
||||
@ -32,4 +25,3 @@ namespace Ordering.FunctionalTests
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user