aboutsummaryrefslogtreecommitdiff
path: root/instance_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'instance_test.go')
-rw-r--r--instance_test.go7
1 files changed, 2 insertions, 5 deletions
diff --git a/instance_test.go b/instance_test.go
index f4a8fea..582b232 100644
--- a/instance_test.go
+++ b/instance_test.go
@@ -6,8 +6,8 @@ import (
"crypto"
"crypto/x509"
- "github.com/system-transparency/stfe/testdata"
"github.com/system-transparency/stfe/x509util"
+ "github.com/system-transparency/stfe/x509util/testdata"
)
var (
@@ -21,13 +21,10 @@ var (
)
func makeTestLogParameters(t *testing.T, signer crypto.Signer) *LogParameters {
- anchorList, err := x509util.NewCertificateList(testdata.PemAnchors)
+ anchorList, err := x509util.NewCertificateList(testdata.TrustAnchors)
if err != nil {
t.Fatalf("must decode trust anchors: %v", err)
}
- if got, want := len(anchorList), testdata.NumPemAnchors; got != want {
- t.Fatalf("must have %d trust anchor(s), got %d", want, got)
- }
return &LogParameters{
LogId: testLogId,
TreeId: testTreeId,