forked from TrueCloudLab/neoneo-go
core: move Management contract test into native
This commit is contained in:
parent
8057c096c6
commit
2e2d886a2f
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
package core_test
|
package native_test
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"testing"
|
"testing"
|
||||||
|
@ -26,7 +26,7 @@ func TestManagement_GetNEP17Contracts(t *testing.T) {
|
||||||
c.P2PSigExtensions = true // `basicchain.Init` requires Notary enabled
|
c.P2PSigExtensions = true // `basicchain.Init` requires Notary enabled
|
||||||
})
|
})
|
||||||
e := neotest.NewExecutor(t, bc, validators, committee)
|
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),
|
require.ElementsMatch(t, []util.Uint160{e.NativeHash(t, nativenames.Neo),
|
||||||
e.NativeHash(t, nativenames.Gas), e.ContractHash(t, 1)}, bc.GetNEP17Contracts())
|
e.NativeHash(t, nativenames.Gas), e.ContractHash(t, 1)}, bc.GetNEP17Contracts())
|
Loading…
Reference in a new issue