Skip to content

Commit 967eec6

Browse files
committed
Use decorators for tests
1 parent a8e46b3 commit 967eec6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Foundation.Data.Doublets.Cli.Tests/BasicQueryProcessor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,8 @@ private static void RunTestWithLinks(Action<ILinks<uint>> testAction)
156156
try
157157
{
158158
using var links = new UnitedMemoryLinks<uint>(tempDbFile);
159-
testAction(links);
159+
var decoratedLinks = links.DecorateWithAutomaticUniquenessAndUsagesResolution();
160+
testAction(decoratedLinks);
160161
}
161162
finally
162163
{

Foundation.Data.Doublets.Cli.Tests/MixedQueryProcessor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,8 @@ private static void RunTestWithLinks(Action<ILinks<uint>> testAction)
231231
try
232232
{
233233
using var links = new UnitedMemoryLinks<uint>(tempDbFile);
234-
testAction(links);
234+
var decoratedLinks = links.DecorateWithAutomaticUniquenessAndUsagesResolution();
235+
testAction(decoratedLinks);
235236
}
236237
finally
237238
{

0 commit comments

Comments
 (0)