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:
parent
b072fc56b1
commit
b42ebe6f1b
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user