examples: move nft-nd-nns test into the same package

Which is the way Go tests are normally stored.
This commit is contained in:
Roman Khimov 2022-03-23 22:21:07 +03:00
parent 3070c2e7fc
commit 2c70f41e51

View file

@ -1,4 +1,4 @@
package tests package nns_test
import ( import (
"strings" "strings"
@ -17,7 +17,7 @@ import (
func newNSClient(t *testing.T) *neotest.ContractInvoker { func newNSClient(t *testing.T) *neotest.ContractInvoker {
bc, acc := chain.NewSingle(t) bc, acc := chain.NewSingle(t)
e := neotest.NewExecutor(t, bc, acc, acc) e := neotest.NewExecutor(t, bc, acc, acc)
c := neotest.CompileFile(t, e.CommitteeHash, "..", "../nns.yml") c := neotest.CompileFile(t, e.CommitteeHash, ".", "nns.yml")
e.DeployContract(t, c, nil) e.DeployContract(t, c, nil)
return e.CommitteeInvoker(c.Hash) return e.CommitteeInvoker(c.Hash)