Skip to content

Commit

Permalink
Refactored all tests to use year
Browse files Browse the repository at this point in the history
  • Loading branch information
pizzaburgare committed Apr 18, 2024
1 parent e02782d commit 11b1e41
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -428,8 +428,8 @@ public async Task CreateNewTimeslotAndDelete()
//Add new timeslot
var json = new JsonObject
{
{ "start", DateTime.Parse("2021-11-15 12:45") },
{ "end", DateTime.Parse("2021-11-15 13:15") },
{ "start", DateTime.Parse($"{currentYear}-11-15 12:45") },
{ "end", DateTime.Parse($"{currentYear}-11-15 13:15") },
{ "companyid", "-3" },
{ "location", "At home" }
};
Expand Down Expand Up @@ -534,8 +534,8 @@ public async Task CreateAndDelete()
//Add new timeslot
var json = new JsonObject
{
{ "start", DateTime.Parse("2021-11-15 12:45") },
{ "end", DateTime.Parse("2021-11-15 13:15") },
{ "start", DateTime.Parse($"{currentYear}-11-15 12:45") },
{ "end", DateTime.Parse($"{currentYear}-11-15 13:15") },
{ "companyid", "-3" },
{ "location", "At home" }
};
Expand Down

0 comments on commit 11b1e41

Please sign in to comment.