From 2e2d886a2f53cdbad4e0751f0103726e333a89e3 Mon Sep 17 00:00:00 2001 From: Roman Khimov Date: Wed, 8 Jun 2022 22:34:09 +0300 Subject: [PATCH] core: move Management contract test into native --- .../management_neotest_test.go} | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) rename pkg/core/{native_management_test.go => native/management_neotest_test.go} (95%) diff --git a/pkg/core/native_management_test.go b/pkg/core/native/management_neotest_test.go similarity index 95% rename from pkg/core/native_management_test.go rename to pkg/core/native/management_neotest_test.go index e02e022dd..f805d439b 100644 --- a/pkg/core/native_management_test.go +++ b/pkg/core/native/management_neotest_test.go @@ -1,4 +1,4 @@ -package core_test +package native_test import ( "testing" @@ -26,7 +26,7 @@ func TestManagement_GetNEP17Contracts(t *testing.T) { c.P2PSigExtensions = true // `basicchain.Init` requires Notary enabled }) e := neotest.NewExecutor(t, bc, validators, committee) - basicchain.Init(t, "../../", e) + basicchain.Init(t, "../../../", e) require.ElementsMatch(t, []util.Uint160{e.NativeHash(t, nativenames.Neo), e.NativeHash(t, nativenames.Gas), e.ContractHash(t, 1)}, bc.GetNEP17Contracts())