Skip to content

Commit

Permalink
Limit InitializeFiles to v9 DynamicsValue/fake-xrm-easy#157
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimontana82 committed Aug 20, 2024
1 parent bbb932c commit e51de98
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
4 changes: 3 additions & 1 deletion src/FakeXrmEasy.Core/XrmFakedContext.FileStorage.cs
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if FAKE_XRM_EASY_9
using System;
using System.Collections.Generic;
using FakeXrmEasy.Abstractions;
Expand Down Expand Up @@ -37,4 +38,5 @@ public void InitializeFiles(IEnumerable<IFileAttachment> files)
FilesInitialized = true;
}
}
}
}
#endif
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if FAKE_XRM_EASY_9
using System;
using System.Collections.Generic;
using DataverseEntities;
Expand Down Expand Up @@ -91,4 +92,5 @@ public void Should_init_file()
Assert.Single(allFiles);
}
}
}
}
#endif

0 comments on commit e51de98

Please sign in to comment.