Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/3x user reader update #58

Merged
merged 4 commits into from
Feb 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@

- **Alpha**: Introduced subscription usage monitoring based on customer feedback

### Changed

- Remove ReleaseNotes from package description - https://github.com/DynamicsValue/fake-xrm-easy/issues/115

## [3.3.3]

### Added
Expand Down
4 changes: 0 additions & 4 deletions src/FakeXrmEasy.Core/FakeXrmEasy.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -100,10 +100,6 @@
<PropertyGroup>
<PackageDescription>
FakeXrmEasy is the open source test automation framework for .net core and the Power Platform. This is the core package containing a configurable middleware, crud operators, and query translation between FetchXml, QueryExpression, CRM LINQ, and QueryByAttribute.

RELEASE NOTES
------------------
@(ReleaseNoteLines, '%0a')
</PackageDescription>
<PackageReleaseNotes>@(ReleaseNoteLines, '%0a')</PackageReleaseNotes>
</PropertyGroup>
Expand Down
2 changes: 0 additions & 2 deletions src/FakeXrmEasy.Core/XrmFakedTracingService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,6 @@ public void Trace(string format, params object[] args)
}
else
{
Console.WriteLine(format, args);

_trace.AppendLine(string.Format(format, args));
};
}
Expand Down
1 change: 0 additions & 1 deletion tests/FakeXrmEasy.Core.Tests/Issues/Issue191.cs
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ public void Testing_191()
link2.LinkEntities.Add(link22);

var count2 = _service.RetrieveMultiple(query2).Entities.Count;
Console.WriteLine(count2); // returns 1 record

var results = _service.RetrieveMultiple(query2);
Assert.True(results.Entities[0].Attributes.ContainsKey("child1.contactid"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2101,18 +2101,8 @@ public void FetchXml_Operator_This_Week_Execution()
var today = DateTime.Today;
var date = today;

var firstDayOfWeek = (int)CultureInfo.CurrentCulture.DateTimeFormat.FirstDayOfWeek;

Console.WriteLine($"First day of week={firstDayOfWeek}");

var dayOfWeek = (int)date.DayOfWeek;
Console.WriteLine($"Day of week={dayOfWeek}");

var firstDayOfThisWeek = GetFirstDayOfWeek(date);
Console.WriteLine($"First day of this week={firstDayOfThisWeek}");

var lastDayOfThisWeek = firstDayOfThisWeek.AddDays(6);
Console.WriteLine($"last day of this week={lastDayOfThisWeek}");

var ct1 = new Contact() { Id = Guid.NewGuid(), Anniversary = firstDayOfThisWeek }; //Should be returned
var ct2 = new Contact() { Id = Guid.NewGuid(), Anniversary = lastDayOfThisWeek }; //Should be returned
Expand Down
Loading