Skip to content

Commit 7370b89

Browse files
committed
fix test
rpc now back to properly responding 401
1 parent 613177f commit 7370b89

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Thirdweb.Tests/Thirdweb.RPC/Thirdweb.RPC.Tests.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public async Task TestAuth()
107107
var client = ThirdwebClient.Create(clientId: "hi", fetchTimeoutOptions: new TimeoutOptions(rpc: 60000));
108108
var rpc = ThirdwebRPC.GetRpcInstance(client, 1);
109109
var ex = await Assert.ThrowsAsync<HttpRequestException>(async () => await rpc.SendRequestAsync<string>("eth_blockNumber"));
110-
Assert.Contains("Unauthorized", ex.Message);
110+
Assert.Contains("401", ex.Message);
111111
}
112112

113113
[Fact(Timeout = 120000)]

0 commit comments

Comments
 (0)