Skip to content

Commit

Permalink
Naming was adjusted
Browse files Browse the repository at this point in the history
  • Loading branch information
litichevskiydv committed Aug 7, 2024
1 parent 540c932 commit b2a2a9c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions examples/Api.Tests/ArchitectureImplementationTest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
using Byndyusoft.ArchitectureTesting.StructurizrParser;
using FluentAssertions;
using Validation.DependencyValidators;
using Validation.Extensions;
using Validation.ServiceImplementations;
using Xunit;

public class ArchitectureImplementationTest
Expand All @@ -19,7 +19,7 @@ public void ServiceShouldImplementArchitecture()
var startupType = typeof(Startup);
var parser = new JsonParser(x => x.StartsWith("musicality-labs", StringComparison.InvariantCultureIgnoreCase));
var serviceContract = parser.Parse(File.ReadAllText("musicality-labs.json")).FindServiceContract(startupType.Assembly);
using var serviceImplementation = ServiceImplementationExtensions.Create(startupType);
using var serviceImplementation = ServiceImplementationsFactory.Create(startupType);

// When
var serviceValidationErrors = ServiceValidatorsFactory.Create(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
namespace MusicalityLabs.Storage.Api.Tests.Validation.Extensions
namespace MusicalityLabs.Storage.Api.Tests.Validation.ServiceImplementations
{
using System;
using System.Collections.Generic;
Expand All @@ -7,7 +7,7 @@
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.DependencyInjection;

public static class ServiceImplementationExtensions
public static class ServiceImplementationsFactory
{
private static IServiceProvider BuildServiceProvider(Type startupType)
{
Expand Down

0 comments on commit b2a2a9c

Please sign in to comment.