From 4ae1b520089481e8d58a5b073b21d437a1bc6073 Mon Sep 17 00:00:00 2001 From: Mirko Sekulic Date: Thu, 7 Nov 2024 15:28:32 +0100 Subject: [PATCH] fix repo name --- .../UserRequestSynchronization/RequestSyncResolver.cs | 4 ++-- .../Controllers/DataModelsController/PostTests.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/src/Designer/Middleware/UserRequestSynchronization/RequestSyncResolver.cs b/backend/src/Designer/Middleware/UserRequestSynchronization/RequestSyncResolver.cs index 12521cb6816..e1a94828146 100644 --- a/backend/src/Designer/Middleware/UserRequestSynchronization/RequestSyncResolver.cs +++ b/backend/src/Designer/Middleware/UserRequestSynchronization/RequestSyncResolver.cs @@ -7,8 +7,8 @@ namespace Altinn.Studio.Designer.Middleware.UserRequestSynchronization; public class RequestSyncResolver : IRequestSyncResolver { - IEnumerable _requestSyncEvaluators; - IEditingContextResolver _editingContextResolver; + private readonly IEnumerable _requestSyncEvaluators; + private readonly IEditingContextResolver _editingContextResolver; public RequestSyncResolver(IEnumerable requestSyncEvaluators, IEditingContextResolver editingContextResolver) { diff --git a/backend/tests/Designer.Tests/Controllers/DataModelsController/PostTests.cs b/backend/tests/Designer.Tests/Controllers/DataModelsController/PostTests.cs index 5cf41ba16c5..69afecad8f6 100644 --- a/backend/tests/Designer.Tests/Controllers/DataModelsController/PostTests.cs +++ b/backend/tests/Designer.Tests/Controllers/DataModelsController/PostTests.cs @@ -67,7 +67,7 @@ public async Task PostDatamodel_FromFormPost_ShouldReturnCreatedFromTemplate(str [InlineData("test/", "", false)] public async Task PostDatamodel_InvalidFormPost_ShouldReturnBadRequest(string modelName, string relativeDirectory, bool altinn2Compatible) { - string url = $"{VersionPrefix("xyz", "dummyRepo")}/new"; + string url = $"{VersionPrefix("xyz", "dummyrepo")}/new"; var createViewModel = new CreateModelViewModel() { ModelName = modelName, RelativeDirectory = relativeDirectory, Altinn2Compatible = altinn2Compatible };