forked from TrueCloudLab/neoneo-go
examples: move nft-nd-nns test into the same package
Which is the way Go tests are normally stored.
This commit is contained in:
parent
3070c2e7fc
commit
2c70f41e51
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
Loading…
Reference in a new issue