Skip to content

Commit

Permalink
fix the formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
dhiren-singh-007 committed Jan 9, 2025
1 parent 8d0c07c commit 0b97a51
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,19 @@
* SPDX-License-Identifier: Apache-2.0
********************************************************************************/

using Org.Eclipse.TractusX.Portal.Backend.Administration.Service.ErrorHandling;
using Microsoft.Extensions.Options;
using Org.Eclipse.TractusX.Portal.Backend.Administration.Service.ErrorHandling;
using Org.Eclipse.TractusX.Portal.Backend.Framework.ErrorHandling;
using Org.Eclipse.TractusX.Portal.Backend.Framework.IO;
using Org.Eclipse.TractusX.Portal.Backend.Framework.Models.Encryption;
using Org.Eclipse.TractusX.Portal.Backend.OfferProvider.Library.DependencyInjection;
using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.DBAccess;
using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.DBAccess.Models;
using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.DBAccess.Repositories;
using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.Enums;
using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities.Identities;
using Org.Eclipse.TractusX.Portal.Backend.Processes.OfferSubscription.Library;
using Org.Eclipse.TractusX.Portal.Backend.Processes.OfferSubscription.Library.Extensions;
using Org.Eclipse.TractusX.Portal.Backend.OfferProvider.Library.DependencyInjection;

namespace Org.Eclipse.TractusX.Portal.Backend.Administration.Service.BusinessLogic;

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ public class SubscriptionConfigurationBusinessLogicTests
private readonly IIdentityService _identityService;
private readonly OfferProviderSettings _options;


public SubscriptionConfigurationBusinessLogicTests()
{
_fixture = new Fixture().Customize(new AutoFakeItEasyCustomization { ConfigureMembers = true });
Expand All @@ -80,8 +79,8 @@ public SubscriptionConfigurationBusinessLogicTests()
{
EncryptionConfigs =
[
new() { Index=0, EncryptionKey=Convert.ToHexString(_fixture.CreateMany<byte>(32).ToArray()), CipherMode=CipherMode.CFB, PaddingMode=PaddingMode.PKCS7 },
new() { Index=1, EncryptionKey=Convert.ToHexString(_fixture.CreateMany<byte>(32).ToArray()), CipherMode=CipherMode.CBC, PaddingMode=PaddingMode.PKCS7 },
new() { Index = 0, EncryptionKey = Convert.ToHexString(_fixture.CreateMany<byte>(32).ToArray()), CipherMode = CipherMode.CFB, PaddingMode = PaddingMode.PKCS7 },
new() { Index = 1, EncryptionKey = Convert.ToHexString(_fixture.CreateMany<byte>(32).ToArray()), CipherMode = CipherMode.CBC, PaddingMode = PaddingMode.PKCS7 },
],
EncryptionConfigIndex = 1
};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,8 +67,8 @@ public OfferProviderBusinessLogicTests()
{
EncryptionConfigs =
[
new() { Index=0, EncryptionKey="2b7e151628aed2a6abf715892b7e151628aed2a6abf715892b7e151628aed2a6", CipherMode=CipherMode.CFB, PaddingMode=PaddingMode.PKCS7 },
new() { Index=1, EncryptionKey="5892b7e151628aed2a6abf715892b7e151628aed2a62b7e151628aed2a6abf71", CipherMode=CipherMode.CBC, PaddingMode=PaddingMode.PKCS7 },
new() { Index = 0, EncryptionKey = "2b7e151628aed2a6abf715892b7e151628aed2a6abf715892b7e151628aed2a6", CipherMode = CipherMode.CFB, PaddingMode = PaddingMode.PKCS7 },
new() { Index = 1, EncryptionKey = "5892b7e151628aed2a6abf715892b7e151628aed2a62b7e151628aed2a6abf71", CipherMode = CipherMode.CBC, PaddingMode = PaddingMode.PKCS7 },
],
EncryptionConfigIndex = 1
};
Expand Down

0 comments on commit 0b97a51

Please sign in to comment.