File tree Expand file tree Collapse file tree 1 file changed +17
-0
lines changed
Expand file tree Collapse file tree 1 file changed +17
-0
lines changed Original file line number Diff line number Diff line change 77 "testing"
88
99 "github.com/beevik/etree"
10+
1011 "github.com/iptecharch/data-server/mocks/mocknetconf"
1112 "github.com/iptecharch/data-server/mocks/mockschema"
1213 "github.com/iptecharch/data-server/pkg/config"
@@ -213,6 +214,7 @@ func Test_ncTarget_Get(t *testing.T) {
213214 },
214215 },
215216 }
217+
216218 for _ , tt := range tests {
217219 t .Run (tt .name , func (t * testing.T ) {
218220 // create Mock controller
@@ -238,3 +240,18 @@ func Test_ncTarget_Get(t *testing.T) {
238240 })
239241 }
240242}
243+
244+ const (
245+ SchemaName = "TestModel"
246+ SchemaVendor = "TestVendor"
247+ SchemaVersion = "TestVersion"
248+ )
249+
250+ var (
251+ TestSchema = & sdcpb.Schema {
252+ Name : SchemaName ,
253+ Vendor : SchemaVendor ,
254+ Version : SchemaVersion ,
255+ }
256+ TestCtx = context .TODO ()
257+ )
You can’t perform that action at this time.
0 commit comments