Skip to content

Commit dac10ad

Browse files
committed
fix tests
1 parent 976f183 commit dac10ad

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

src/UniGetUI.Core.IconEngine.Tests/IconCacheEngineTests.cs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ public static class IconCacheEngineTests
77
[Fact]
88
public static void TestCacheEngineForSha256()
99
{
10-
Uri ICON_1 = new Uri("https://marticliment.com/resources/wingetui.png");
11-
byte[] HASH_1 = [0x24, 0x4e, 0x42, 0xb6, 0xbe, 0x44, 0x04, 0x66, 0xc8, 0x77, 0xf7, 0x68, 0x8a, 0xe0, 0xa9, 0x45, 0xfb, 0x2e, 0x66, 0x8c, 0x41, 0x84, 0x1f, 0x2d, 0x10, 0xcf, 0x92, 0xd4, 0x0d, 0x8c, 0xbb, 0xf6];
10+
Uri ICON_1 = new Uri("https://marticliment.com/resources/unigetui.png");
11+
byte[] HASH_1 = [0xB7, 0x41, 0xC3, 0x18, 0xBF, 0x2B, 0x07, 0xAA, 0x92, 0xB2, 0x7A, 0x1B, 0x4D, 0xC5, 0xEE, 0xC4, 0xD1, 0x9B, 0x22, 0xD4, 0x0A, 0x13, 0x26, 0xA7, 0x45, 0xA4, 0xA7, 0xF5, 0x81, 0x8E, 0xAF, 0xFF];
1212
Uri ICON_2 = new Uri("https://marticliment.com/resources/elevenclock.png");
1313
byte[] HASH_2 = [0x9E, 0xB8, 0x7A, 0x5A, 0x64, 0xCA, 0x6D, 0x8D, 0x0A, 0x7B, 0x98, 0xC5, 0x4F, 0x6A, 0x58, 0x72, 0xFD, 0x94, 0xC9, 0xA6, 0x82, 0xB3, 0x2B, 0x90, 0x70, 0x66, 0x66, 0x1C, 0xBF, 0x81, 0x97, 0x97];
1414

@@ -61,7 +61,7 @@ public static void TestCacheEngineForSha256()
6161
[Fact]
6262
public static void TestCacheEngineForPackageVersion()
6363
{
64-
Uri URI = new Uri("https://marticliment.com/resources/wingetui.png");
64+
Uri URI = new Uri("https://marticliment.com/resources/unigetui.png");
6565
string VERSION = "v3.01";
6666
string MANAGER_NAME = "TestManager";
6767
string PACKAGE_ID = "Package2";
@@ -106,7 +106,7 @@ public static void TestCacheEngineForPackageVersion()
106106
[Fact]
107107
public static void TestCacheEngineForIconUri()
108108
{
109-
Uri URI_1 = new Uri("https://marticliment.com/resources/wingetui.png");
109+
Uri URI_1 = new Uri("https://marticliment.com/resources/unigetui.png");
110110
Uri URI_2 = new Uri("https://marticliment.com/resources/elevenclock.png");
111111
string managerName = "TestManager";
112112
string packageId = "Package12";
@@ -151,8 +151,8 @@ public static void TestCacheEngineForIconUri()
151151
[Fact]
152152
public static void TestCacheEngineForPackageSize()
153153
{
154-
Uri ICON_1 = new Uri("https://marticliment.com/resources/wingetui.png");
155-
int ICON_1_SIZE = 47903;
154+
Uri ICON_1 = new Uri("https://marticliment.com/resources/unigetui.png");
155+
int ICON_1_SIZE = 19788;
156156
Uri ICON_2 = new Uri("https://marticliment.com/resources/elevenclock.png");
157157
int ICON_2_SIZE = 19747;
158158
string managerName = "TestManager";

0 commit comments

Comments
 (0)