GODT-2181(test): Basic ATLAS test in test context

This commit is contained in:
James Houlahan
2022-12-13 01:46:02 +01:00
parent b9b4c1c38d
commit 9623e2de6f
6 changed files with 134 additions and 47 deletions

View File

@ -43,7 +43,7 @@ import (
"google.golang.org/grpc"
)
var defaultVersion = semver.MustParse("1.0.0")
var defaultVersion = semver.MustParse("3.0.6")
type testCtx struct {
// These are the objects supporting the test.
@ -104,7 +104,7 @@ func newTestCtx(tb testing.TB) *testCtx {
t := &testCtx{
dir: dir,
api: newFakeAPI(),
api: newTestAPI(),
netCtl: proton.NewNetCtl(),
locator: locations.New(bridge.NewTestLocationsProvider(dir), "config-name"),
storeKey: []byte("super-secret-store-key"),