aboutsummaryrefslogtreecommitdiff
path: root/type_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'type_test.go')
-rw-r--r--type_test.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/type_test.go b/type_test.go
index 6b292ed..e249fb6 100644
--- a/type_test.go
+++ b/type_test.go
@@ -5,7 +5,7 @@ import (
"crypto/tls"
- "github.com/system-transparency/stfe/server/testdata"
+ "github.com/system-transparency/stfe/testdata"
"github.com/system-transparency/stfe/x509util"
)
@@ -275,7 +275,7 @@ func TestEncDecStItem(t *testing.T) {
//
// TODO: max limits for certificate chains are not tested.
func TestEncDecAppendix(t *testing.T) {
- chain, err := x509util.NewCertificateList(testdata.PemChain)
+ chain, err := x509util.NewCertificateList(testdata.FirstPemChain)
if err != nil {
t.Fatalf("must decode certificate chain: %v", err)
}
@@ -398,7 +398,7 @@ func TestStItemUnmarshalFailure(t *testing.T) {
// TestAppendixUnmarshal tests that invalid appendices cannot be unmarshaled
func TestAppendixUnmarshalFailure(t *testing.T) {
- chain, err := x509util.NewCertificateList(testdata.PemChain)
+ chain, err := x509util.NewCertificateList(testdata.FirstPemChain)
if err != nil {
t.Fatalf("must decode certificate chain: %v", err)
}