chore: cleanup usings and run dotnet format
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
global using System.IO.Abstractions;
|
global using System.IO.Abstractions;
|
||||||
|
global using System.ServiceModel.Syndication;
|
||||||
|
global using System.Text;
|
||||||
global using System.Text.Json;
|
global using System.Text.Json;
|
||||||
|
global using System.Xml;
|
||||||
|
global using System.Xml.Linq;
|
||||||
|
|
||||||
global using Blog.Components;
|
global using Blog.Components;
|
||||||
global using Blog.Posts;
|
global using Blog.Posts;
|
||||||
|
|||||||
@@ -1,8 +1,3 @@
|
|||||||
using System.ServiceModel.Syndication;
|
|
||||||
using System.Text;
|
|
||||||
using System.Xml;
|
|
||||||
using System.Xml.Linq;
|
|
||||||
|
|
||||||
var builder = WebApplication.CreateBuilder(args);
|
var builder = WebApplication.CreateBuilder(args);
|
||||||
|
|
||||||
builder.Services.ConfigureOptions<FilePostServiceOptionsSetup>();
|
builder.Services.ConfigureOptions<FilePostServiceOptionsSetup>();
|
||||||
|
|||||||
@@ -32,7 +32,7 @@ public class BlogTest : PageTest
|
|||||||
{
|
{
|
||||||
await Context.Tracing.StopAsync(new()
|
await Context.Tracing.StopAsync(new()
|
||||||
{
|
{
|
||||||
Path = Path.Combine(
|
Path = Path.Combine(
|
||||||
TestContext.CurrentContext.WorkDirectory,
|
TestContext.CurrentContext.WorkDirectory,
|
||||||
"playwright-traces",
|
"playwright-traces",
|
||||||
$"{TestContext.CurrentContext.Test.ClassName}.{TestContext.CurrentContext.Test.Name}.zip"
|
$"{TestContext.CurrentContext.Test.ClassName}.{TestContext.CurrentContext.Test.Name}.zip"
|
||||||
|
|||||||
@@ -1,8 +1,3 @@
|
|||||||
using System.ServiceModel.Syndication;
|
|
||||||
using System.Text;
|
|
||||||
using System.Xml;
|
|
||||||
using System.Xml.Linq;
|
|
||||||
|
|
||||||
namespace Blog.Tests.EndToEnd;
|
namespace Blog.Tests.EndToEnd;
|
||||||
|
|
||||||
[TestFixture]
|
[TestFixture]
|
||||||
|
|||||||
@@ -1,5 +1,8 @@
|
|||||||
global using System.IO.Abstractions;
|
global using System.IO.Abstractions;
|
||||||
global using System.Net;
|
global using System.Net;
|
||||||
|
global using System.ServiceModel.Syndication;
|
||||||
|
global using System.Text;
|
||||||
|
global using System.Xml;
|
||||||
|
|
||||||
global using Blog.Posts;
|
global using Blog.Posts;
|
||||||
|
|
||||||
@@ -10,10 +13,10 @@ global using Microsoft.AspNetCore.Hosting.Server;
|
|||||||
global using Microsoft.AspNetCore.Mvc.Testing;
|
global using Microsoft.AspNetCore.Mvc.Testing;
|
||||||
global using Microsoft.Extensions.DependencyInjection;
|
global using Microsoft.Extensions.DependencyInjection;
|
||||||
global using Microsoft.Extensions.Hosting;
|
global using Microsoft.Extensions.Hosting;
|
||||||
|
global using Microsoft.Extensions.Logging;
|
||||||
global using Microsoft.Extensions.Options;
|
global using Microsoft.Extensions.Options;
|
||||||
global using Microsoft.Playwright;
|
global using Microsoft.Playwright;
|
||||||
global using Microsoft.Playwright.NUnit;
|
global using Microsoft.Playwright.NUnit;
|
||||||
global using Microsoft.Extensions.Logging;
|
|
||||||
|
|
||||||
global using Moq;
|
global using Moq;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user