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 };