Skip to content

Commit

Permalink
update unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
JFriel committed Nov 29, 2023
1 parent b6a2848 commit 1967a73
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests.Common/UnitTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,10 @@ public static T WhenIHaveA<T>(MemoryDataExportRepository repository) where T : D
return (T)(object)Save(new Catalogue(repository, "Mycata"));


if (typeof(T) == typeof(RedactedCHI))
return (T)(object)Save(new RedactedCHI(repository,"123456789","123456789","[test].[db]"));


if (typeof(T) == typeof(ExtendedProperty))
return (T)(object)new ExtendedProperty(repository, Save(new Catalogue(repository, "Mycata")), "TestProp",
0);
Expand Down

0 comments on commit 1967a73

Please sign in to comment.