diff --git a/.github/workflows/ListBlobsInContainer_build_and_test_on_push.yml b/.github/workflows/ListBlobsInContainer_build_and_test_on_push.yml index a188b52..e559034 100644 --- a/.github/workflows/ListBlobsInContainer_build_and_test_on_push.yml +++ b/.github/workflows/ListBlobsInContainer_build_and_test_on_push.yml @@ -26,5 +26,5 @@ jobs: env_var_value_2: ${{ secrets.FRENDS_AZUREBLOBSTORAGE_APPID }} env_var_value_3: ${{ secrets.FRENDS_AZUREBLOBSTORAGE_CLIENTSECRET }} env_var_value_4: ${{ secrets.FRENDS_AZUREBLOBSTORAGE_TENANTID }} - env_var_value_5: ${{ secrets.FRENDS_AZUREBLOBSTORAGE_FRENDSTASKTESTCONTAINERACCESSKEY }} + env_var_value_5: ${{ secrets.FRENDS_AZUREBLOBSTORAGE_FRENDSTASKSTESTCONTAINERACCESSKEY }} env_var_value_6: ${{ secrets.FRENDS_AZUREBLOBSTORAGE_URI }} \ No newline at end of file diff --git a/Frends.AzureBlobStorage.ListBlobsInContainer/Frends.AzureBlobStorage.ListBlobsInContainer.Tests/SASUnitTests.cs b/Frends.AzureBlobStorage.ListBlobsInContainer/Frends.AzureBlobStorage.ListBlobsInContainer.Tests/SASUnitTests.cs index 77d3db6..bb4804c 100644 --- a/Frends.AzureBlobStorage.ListBlobsInContainer/Frends.AzureBlobStorage.ListBlobsInContainer.Tests/SASUnitTests.cs +++ b/Frends.AzureBlobStorage.ListBlobsInContainer/Frends.AzureBlobStorage.ListBlobsInContainer.Tests/SASUnitTests.cs @@ -142,8 +142,7 @@ private string GenerateSASToken() BlobSasBuilder blobSasBuilder = new() { BlobContainerName = _containerName, - StartsOn = DateTime.UtcNow.AddMinutes(-5), - ExpiresOn = DateTime.UtcNow.AddMinutes(15) + ExpiresOn = DateTime.UtcNow.AddMinutes(5) }; blobSasBuilder.SetPermissions(BlobContainerSasPermissions.List);