Skip to content

Commit

Permalink
Add claim printing for debugging Travis
Browse files Browse the repository at this point in the history
  • Loading branch information
bobheadxi committed Jun 30, 2018
1 parent 6185b72 commit 2ff2db8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions daemon/inertiad/crypto/token_test.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package crypto

import (
"fmt"
"testing"
"time"

Expand Down Expand Up @@ -65,5 +66,7 @@ func TestTokenClaims_GenerateToken(t *testing.T) {
// Try decoding token
readClaims, err := ValidateToken(token, GetFakeAPIKey)
assert.Nil(t, err)
fmt.Print(claims)
fmt.Print(readClaims)
assert.True(t, assert.ObjectsAreEqualValues(claims, readClaims))
}

0 comments on commit 2ff2db8

Please sign in to comment.