Skip to content

Commit

Permalink
fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
bthaile committed Feb 21, 2024
1 parent 09e9fee commit 55b1d88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/dependencymanager/dependencyinstaller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ func TestDependencyInstallerInstall(t *testing.T) {
gw := mocks.DefaultMockGateway()

gw.GetAccount.Run(func(args mock.Arguments) {
addr := args.Get(0).(flow.Address)
addr := args.Get(1).(flow.Address)
assert.Equal(t, addr.String(), serviceAcc.Address.String())
acc := tests.NewAccountWithAddress(addr.String())
acc.Contracts = map[string][]byte{
Expand Down Expand Up @@ -100,7 +100,7 @@ func TestDependencyInstallerAdd(t *testing.T) {
gw := mocks.DefaultMockGateway()

gw.GetAccount.Run(func(args mock.Arguments) {
addr := args.Get(0).(flow.Address)
addr := args.Get(1).(flow.Address)
assert.Equal(t, addr.String(), serviceAcc.Address.String())
acc := tests.NewAccountWithAddress(addr.String())
acc.Contracts = map[string][]byte{
Expand Down

0 comments on commit 55b1d88

Please sign in to comment.