core: move Management contract test into native

This commit is contained in:
Roman Khimov 2022-06-08 22:34:09 +03:00
parent 8057c096c6
commit 2e2d886a2f

View file

@ -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())