From af4dbad99f299dc7ff5119a3affae4b72f0d368b Mon Sep 17 00:00:00 2001 From: Daniel <dhaavi@users.noreply.github.com> Date: Wed, 30 Jun 2021 11:16:16 +0200 Subject: [PATCH] Fix envelope creation in tests --- core_test.go | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/core_test.go b/core_test.go index cef65b8..85c17a4 100644 --- a/core_test.go +++ b/core_test.go @@ -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