From e72bcf81f4d042d75f9a52c5fe5d53bf9b46b4a1 Mon Sep 17 00:00:00 2001 From: Chase Fleming <1666730+chasefleming@users.noreply.github.com> Date: Tue, 5 Mar 2024 14:06:18 -0800 Subject: [PATCH] Fix tests --- internal/dependencymanager/dependencyinstaller_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/dependencymanager/dependencyinstaller_test.go b/internal/dependencymanager/dependencyinstaller_test.go index ecacc944c..ef8bba2e6 100644 --- a/internal/dependencymanager/dependencyinstaller_test.go +++ b/internal/dependencymanager/dependencyinstaller_test.go @@ -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{ @@ -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{