mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-08-10 16:00:19 -04:00
Move aTLS fakes into atls package
This commit is contained in:
parent
85ba2657e1
commit
b926cf9006
16 changed files with 161 additions and 177 deletions
|
@ -10,12 +10,12 @@ import (
|
|||
"sync"
|
||||
"testing"
|
||||
|
||||
"github.com/edgelesssys/constellation/coordinator/core"
|
||||
"github.com/edgelesssys/constellation/coordinator/logging"
|
||||
"github.com/edgelesssys/constellation/coordinator/peer"
|
||||
"github.com/edgelesssys/constellation/coordinator/pubapi/pubproto"
|
||||
"github.com/edgelesssys/constellation/coordinator/role"
|
||||
"github.com/edgelesssys/constellation/coordinator/state"
|
||||
"github.com/edgelesssys/constellation/internal/atls"
|
||||
"github.com/edgelesssys/constellation/internal/attestation/vtpm"
|
||||
"github.com/edgelesssys/constellation/internal/deploy/ssh"
|
||||
"github.com/edgelesssys/constellation/internal/deploy/user"
|
||||
|
@ -524,7 +524,7 @@ func TestRequestStateDiskKey(t *testing.T) {
|
|||
assert := assert.New(t)
|
||||
require := require.New(t)
|
||||
|
||||
issuer := core.NewMockIssuer()
|
||||
issuer := atls.NewFakeIssuer(oid.Dummy{})
|
||||
|
||||
stateDiskServer := &stubStateDiskServer{pushKeyErr: tc.pushKeyErr}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue