1
0
mirror of https://github.com/bitwarden/server.git synced 2024-11-23 12:25:16 +01:00

Fix Broken Icon Unit Test (#4151)

* Updated test domain from ameritrade.com to tdameritrade.com to fix failing test

* Added a skip attribute
This commit is contained in:
Conner Turnbull 2024-06-03 09:58:53 -04:00 committed by GitHub
parent b072fc56b1
commit b42ebe6f1b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -5,13 +5,13 @@ namespace Bit.Icons.Test.Services;
public class IconFetchingServiceTests : ServiceTestBase<IconFetchingService>
{
[Theory]
[Theory(Skip = "Run ad-hoc")]
[InlineData("www.twitter.com")] // https site
[InlineData("www.google.com")] // https site
[InlineData("neverssl.com")] // http site
[InlineData("neopets.com")] // uses favicon.ico
[InlineData("hopin.com")] // uses svg+xml format
[InlineData("ameritrade.com")] // redirects to tdameritrade.com
[InlineData("tdameritrade.com")]
[InlineData("icloud.com")]
public async Task GetIconAsync_Success(string domain)
{