Fix envelope creation in tests

This commit is contained in:
Daniel 2021-06-30 11:16:16 +02:00
parent b7b78c7ec6
commit af4dbad99f

View file

@ -299,10 +299,9 @@ func setupEnvelopeAndTrustStore(t *testing.T, suite *Suite) (*Envelope, error) {
}
// create envelope baseline
e := &Envelope{
SuiteID: suite.ID,
suite: suite,
}
e := NewUnconfiguredEnvelope()
e.SuiteID = suite.ID
e.suite = suite
// check vars
keyDerPresent := false