Oops, missed fmt
This commit is contained in:
parent
52ef7ba8c1
commit
c6ef525f7c
3 changed files with 4 additions and 4 deletions
|
@ -42,7 +42,7 @@ func TestServerAuthHandlerSuccess(t *testing.T) {
|
|||
func TestServerAuthHandlerErrors(t *testing.T) {
|
||||
tt := []struct {
|
||||
name string
|
||||
email string
|
||||
email string
|
||||
expectedStatusCode int
|
||||
expectedErrorString string
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ func TestServerRegisterSuccess(t *testing.T) {
|
|||
func TestServerRegisterErrors(t *testing.T) {
|
||||
tt := []struct {
|
||||
name string
|
||||
email string
|
||||
email string
|
||||
requestBody string
|
||||
expectedStatusCode int
|
||||
expectedErrorString string
|
||||
|
|
|
@ -367,7 +367,7 @@ func TestServerValidateWalletRequest(t *testing.T) {
|
|||
}
|
||||
|
||||
tt := []struct {
|
||||
walletRequest WalletRequest
|
||||
walletRequest WalletRequest
|
||||
failureDescription string
|
||||
}{
|
||||
{
|
||||
|
@ -380,7 +380,7 @@ func TestServerValidateWalletRequest(t *testing.T) {
|
|||
WalletRequest{Token: "seekrit", EncryptedWallet: "my-encrypted-wallet", Sequence: 2},
|
||||
"Expected WalletRequest with missing hmac to not successfully validate",
|
||||
}, {
|
||||
WalletRequest{Token: "seekrit", EncryptedWallet: "my-encrypted-wallet", Hmac: "my-hmac", Sequence: 0},
|
||||
WalletRequest{Token: "seekrit", EncryptedWallet: "my-encrypted-wallet", Hmac: "my-hmac", Sequence: 0},
|
||||
"Expected WalletRequest with sequence < 1 to not successfully validate",
|
||||
},
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue