Skip to content

Commit

Permalink
fix: unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
gigajuwels committed Sep 10, 2023
1 parent 79211ad commit ba6b2c0
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Tests/WalletConnectSharp.Web3Wallet.Tests/SignTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -217,14 +217,6 @@ public async void TestShouldRejectSessionProposal()
{
var proposal = @event.EventData.Proposal;

await _wallet.ApproveSession(proposal, "eip155:1:0xab16a96d359ec26a11e2c2b3d8f8b8942d5bfcdb");

var requiredNamespaces = proposal.RequiredNamespaces;
var approvedNamespaces = new Namespaces(requiredNamespaces);
approvedNamespaces["eip155"].WithAccount("eip155:1:0xab16a96d359ec26a11e2c2b3d8f8b8942d5bfcdb");

await _wallet.ApproveSession(proposal.Id, approvedNamespaces);

var id = @event.EventData.Id;
Assert.Equal(TestRequiredNamespaces, proposal.RequiredNamespaces);

Expand Down

0 comments on commit ba6b2c0

Please sign in to comment.