Skip to content
This repository was archived by the owner on Jun 21, 2023. It is now read-only.

Commit 2decd0e

Browse files
Fixing tests
1 parent fa692bc commit 2decd0e

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

test/UnitTests/GitHub.VisualStudio/Services/MetricsTests.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -341,6 +341,10 @@ static UsageModel CreateUsageModel()
341341
{
342342
prop.SetValue(model, true);
343343
}
344+
else if (prop.PropertyType == typeof(Guid))
345+
{
346+
prop.SetValue(model, Guid.Empty);
347+
}
344348
else
345349
Assert.Fail("Unknown field type in UsageModel. Fix this test to support it");
346350
}

0 commit comments

Comments
 (0)