Skip to content

Commit

Permalink
Refresh SAS token for CI tests (#2217) (#2371)
Browse files Browse the repository at this point in the history
* refresh sas token for CI tests

* change expiry to 2025
  • Loading branch information
and-rewsmith authored and ancaantochi committed Jan 23, 2020
1 parent cb72d43 commit 9262de9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ namespace Microsoft.Azure.Devices.Edge.Util.Test.Common
public static class TokenHelper
{
public static string CreateSasToken(string resourceUri, string key = null, bool expired = false) =>
CreateSasToken(resourceUri, expired ? new DateTime(2010, 1, 1) : new DateTime(2020, 1, 1), key);
CreateSasToken(resourceUri, expired ? new DateTime(2010, 1, 1) : new DateTime(2025, 1, 1), key);

public static string CreateSasToken(string resourceUri, DateTime expiryTime, string key = null)
{
Expand Down

0 comments on commit 9262de9

Please sign in to comment.