Skip to content

Commit 99c8e10

Browse files
authored
fix: more spacing
1 parent 0cf7f9e commit 99c8e10

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

test/UnitTests/ResourceHooks/ResourceHooksTestsSetup.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,6 @@ protected List<TodoItem> CreateTodoWithOwner()
130130
var articles = new List<Article>() { articleTagsSubset, articleWithAllTags };
131131
return (articles, allJoins, allTags);
132132
}
133-
134133
}
135134

136135
public class HooksTestsSetup : HooksDummyData
@@ -169,7 +168,6 @@ public class HooksTestsSetup : HooksDummyData
169168
// mocking the GenericProcessorFactory and JsonApiContext and wiring them up.
170169
(var context, var processorFactory) = CreateContextAndProcessorMocks();
171170

172-
173171
var dbContext = repoDbContextOptions != null ? new AppDbContext(repoDbContextOptions) : null;
174172

175173
SetupProcessorFactoryForResourceDefinition(processorFactory, mainResource.Object, mainDiscovery, context.Object, dbContext);
@@ -276,12 +274,10 @@ void MockHooks<TModel>(Mock<IResourceHookContainer<TModel>> resourceDefinition)
276274
resourceDefinition
277275
.Setup(rd => rd.BeforeImplicitUpdateRelationship(It.IsAny<IRelationshipsDictionary<TModel>>(), It.IsAny<ResourcePipeline>()))
278276
.Verifiable();
279-
280277
resourceDefinition
281278
.Setup(rd => rd.OnReturn(It.IsAny<HashSet<TModel>>(), It.IsAny<ResourcePipeline>()))
282279
.Returns<IEnumerable<TModel>, ResourcePipeline>((entities, context) => entities)
283280
.Verifiable();
284-
285281
resourceDefinition
286282
.Setup(rd => rd.AfterCreate(It.IsAny<HashSet<TModel>>(), It.IsAny<ResourcePipeline>()))
287283
.Verifiable();
@@ -294,8 +290,6 @@ void MockHooks<TModel>(Mock<IResourceHookContainer<TModel>> resourceDefinition)
294290
resourceDefinition
295291
.Setup(rd => rd.AfterDelete(It.IsAny<HashSet<TModel>>(), It.IsAny<ResourcePipeline>(), It.IsAny<bool>()))
296292
.Verifiable();
297-
298-
299293
}
300294

301295
(Mock<IJsonApiContext>, Mock<IGenericProcessorFactory>) CreateContextAndProcessorMocks()

0 commit comments

Comments
 (0)