aboutsummaryrefslogtreecommitdiff
path: root/server/store/store_test.go
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2018-08-06 00:25:26 +0100
committerNiall Sheridan <nsheridan@gmail.com>2018-08-07 15:43:39 +0100
commitd0e5f62cf27d3e5c81385342c63d9f42c2eb7e2f (patch)
tree756c8c9e12fd57923ad571d05423598050570629 /server/store/store_test.go
parent4f2385db4b3d4171fff841594f8c591703e84b0f (diff)
Move StringSlice into the store package
Diffstat (limited to 'server/store/store_test.go')
-rw-r--r--server/store/store_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/server/store/store_test.go b/server/store/store_test.go
index d9ae325..3fd900c 100644
--- a/server/store/store_test.go
+++ b/server/store/store_test.go
@@ -10,7 +10,6 @@ import (
"testing"
"time"
- "github.com/nsheridan/cashier/server/store/types"
"github.com/nsheridan/cashier/testdata"
"github.com/stretchr/testify/assert"
@@ -24,7 +23,7 @@ func TestParseCertificate(t *testing.T) {
pub, _ := ssh.NewPublicKey(r.Public())
c := &ssh.Certificate{
KeyId: "id",
- ValidPrincipals: types.StringSlice{"principal"},
+ ValidPrincipals: StringSlice{"principal"},
ValidBefore: now,
CertType: ssh.UserCert,
Key: pub,