mirror of
https://github.com/aaru-dps/Aaru.git
synced 2025-12-16 19:24:25 +00:00
[UnitTest] Include fields when marshalling JSON in filesystem tests.
This commit is contained in:
@@ -214,7 +214,8 @@ public abstract class BlockMediaImageTest : BaseMediaImageTest
|
||||
MaxDepth = 1536, // More than this an we get a StackOverflowException
|
||||
WriteIndented = true,
|
||||
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
|
||||
PropertyNameCaseInsensitive = true
|
||||
PropertyNameCaseInsensitive = true,
|
||||
IncludeFields = true
|
||||
};
|
||||
|
||||
var sr = new FileStream(expectedDataFilename, FileMode.Open);
|
||||
|
||||
@@ -84,7 +84,8 @@ public abstract class FsExtractHashIssueTest
|
||||
MaxDepth = 1536, // More than this an we get a StackOverflowException
|
||||
WriteIndented = true,
|
||||
DefaultIgnoreCondition = JsonIgnoreCondition.WhenWritingNull,
|
||||
PropertyNameCaseInsensitive = true
|
||||
PropertyNameCaseInsensitive = true,
|
||||
IncludeFields = true
|
||||
};
|
||||
|
||||
var sr = new FileStream($"{TestFile}.unittest.json", FileMode.Open);
|
||||
|
||||
Reference in New Issue
Block a user