aboutsummaryrefslogtreecommitdiff
path: root/server/signer
diff options
context:
space:
mode:
authorNiall Sheridan <nsheridan@gmail.com>2017-01-10 21:54:29 +0000
committerNiall Sheridan <nsheridan@gmail.com>2017-01-10 22:17:00 +0000
commit94ae8fd80298f207830d29dc015b503f4f1e3e90 (patch)
treecdbee61b7bfb82ef17dc51fd179ae81df6181b5a /server/signer
parent3e0a562f6b59075c9d7718b3155501e0be491767 (diff)
Use latest versions
Fix newly-broken tests
Diffstat (limited to 'server/signer')
-rw-r--r--server/signer/signer_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/signer/signer_test.go b/server/signer/signer_test.go
index cdfb4ca..baf00e5 100644
--- a/server/signer/signer_test.go
+++ b/server/signer/signer_test.go
@@ -48,7 +48,7 @@ func TestCert(t *testing.T) {
t.Error("Cert key doesn't match public key")
}
if cert.ValidBefore != uint64(r.ValidUntil.Unix()) {
- t.Errorf("Invalid validity, expected %d, got %d", r.ValidUntil, cert.ValidBefore)
+ t.Errorf("Invalid validity, expected %d, got %d", r.ValidUntil.Unix(), cert.ValidBefore)
}
}