Skip to content

Commit

Permalink
Limit new execution contexts to v9 DynamicsValue/fake-xrm-easy#122
Browse files Browse the repository at this point in the history
  • Loading branch information
jordimontana82 committed Mar 29, 2024
1 parent c3676aa commit e8a5c7c
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if FAKE_XRM_EASY_9
using System;
using Microsoft.Xrm.Sdk;

Expand Down Expand Up @@ -42,4 +43,5 @@ public XrmFakedPluginExecutionContext2()
InitiatingUserAzureActiveDirectoryObjectId = Guid.NewGuid();
}
}
}
}
#endif
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if FAKE_XRM_EASY_9
using System;
using Microsoft.Xrm.Sdk;

Expand All @@ -23,4 +24,5 @@ public XrmFakedPluginExecutionContext3()


}
}
}
#endif
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if FAKE_XRM_EASY_9
using Microsoft.Xrm.Sdk;

namespace FakeXrmEasy.Plugins.PluginExecutionContext
Expand All @@ -24,4 +25,5 @@ public XrmFakedPluginExecutionContext4()
}

}
}
}
#endif
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if FAKE_XRM_EASY_9
using FakeXrmEasy.Plugins.PluginExecutionContext;
using System;
using Xunit;
Expand All @@ -20,4 +21,5 @@ public void Should_set_default_plugin_context_properties()
Assert.Equal(Guid.Empty, plugCtx.PortalsContactId);
}
}
}
}
#endif
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if FAKE_XRM_EASY_9
using System;
using FakeXrmEasy.Plugins.PluginExecutionContext;
using Xunit;
Expand All @@ -14,4 +15,5 @@ public void Should_set_default_plugin_context_properties()
Assert.NotEqual(Guid.Empty, plugCtx.AuthenticatedUserId);
}
}
}
}
#endif
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#if FAKE_XRM_EASY_9
using FakeXrmEasy.Plugins.PluginExecutionContext;
using System;
using Xunit;
Expand All @@ -15,4 +16,5 @@ public void Should_set_default_plugin_context_properties()
Assert.NotNull(plugCtx.PostEntityImagesCollection);
}
}
}
}
#endif

0 comments on commit e8a5c7c

Please sign in to comment.