-
Couldn't load subscription status.
- Fork 2.7k
Description
The build and test is failing on test on dotnet with the following errors:
A total of 1 test files matched the specified pattern.
[xUnit.net 00:00:00.44] Microsoft.eShopWeb.FunctionalTests.WebRazorPages.HomePageOnGet.ReturnsHomePageWithProductListing [FAIL]
[xUnit.net 00:00:00.46] Microsoft.eShopWeb.FunctionalTests.Web.Pages.Basket.BasketPageCheckout.RedirectsToLoginIfNotAuthenticated [FAIL]
[xUnit.net 00:00:00.46] Microsoft.eShopWeb.FunctionalTests.Web.Pages.Basket.CheckoutTest.SucessfullyPay [FAIL]
[xUnit.net 00:00:00.47] Microsoft.eShopWeb.FunctionalTests.Web.Pages.Basket.IndexTest.OnPostUpdateTo50Successfully [FAIL]
[xUnit.net 00:00:00.47] Microsoft.eShopWeb.FunctionalTests.Web.Pages.Basket.IndexTest.OnPostUpdateTo0EmptyBasket [FAIL]
[xUnit.net 00:00:00.47] Microsoft.eShopWeb.FunctionalTests.Web.Controllers.AccountControllerSignIn.ReturnsSuccessfulSignInOnPostWithValidCredentials [FAIL]
[xUnit.net 00:00:00.47] Microsoft.eShopWeb.FunctionalTests.Web.Controllers.AccountControllerSignIn.ReturnsFormWithRequestVerificationToken [FAIL]
[xUnit.net 00:00:00.48] Microsoft.eShopWeb.FunctionalTests.Web.Controllers.AccountControllerSignIn.RegexMatchesValidRequestVerificationToken [FAIL]
[xUnit.net 00:00:00.48] Microsoft.eShopWeb.FunctionalTests.Web.Controllers.AccountControllerSignIn.ReturnsSignInScreenOnGet [FAIL]
Failed Microsoft.eShopWeb.FunctionalTests.WebRazorPages.HomePageOnGet.ReturnsHomePageWithProductListing [1 ms]
Error Message:
System.IO.FileNotFoundException : Could not load file or assembly 'Microsoft.Extensions.Configuration.Abstractions, Version=9.0.0.0, Culture=neutral, PublicKeyToken=adb9793829ddae60'. The system cannot find the file specified.
... and many more.
Additionally, there are warnings:
buildandtest: src/Web/Program.cs#L131
'FeatureFlagOptions.CacheExpirationInterval' is obsolete: 'The CacheExpirationInterval property is deprecated and will be removed in a future release. Please use the new SetRefreshInterval method instead. Note that the usage has changed, but the functionality remains the same.'
buildandtest: src/Web/Program.cs#L126
'AzureAppConfigurationRefreshOptions.SetCacheExpiration(TimeSpan)' is obsolete: 'The SetCacheExpiration method is deprecated and will be removed in a future release. Please use the SetRefreshInterval method instead. Note that only the name of the method has changed, and the functionality remains the same.