Skip to content

Commit

Permalink
Bump API version and stripe-mock. Also gofmt
Browse files Browse the repository at this point in the history
  • Loading branch information
pantera-stripe committed Feb 14, 2018
1 parent 6a30114 commit 9bb1c27
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ cache:

env:
global:
- STRIPE_MOCK_VERSION=0.4.0
- STRIPE_MOCK_VERSION=0.7.0

go:
- 1.7
Expand Down
2 changes: 1 addition & 1 deletion ephemeralkey/client_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func TestEphemeralKeyDel(t *testing.T) {
func TestEphemeralKeyNew(t *testing.T) {
key, err := New(&stripe.EphemeralKeyParams{
Customer: "cus_123",
StripeVersion: "2017-05-25",
StripeVersion: "2018-02-06",
})
assert.Nil(t, err)
assert.NotNil(t, key)
Expand Down
2 changes: 1 addition & 1 deletion plan.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type PlanListParams struct {
// For more details see https://stripe.com/docs/api#create_plan and https://stripe.com/docs/api#update_plan.
type PlanParams struct {
Params `form:"*"`
Amount uint64 ` form:"amount"`
Amount uint64 `form:"amount"`
AmountZero bool `form:"amount,zero"`
Currency Currency `form:"currency"`
ID string `form:"id"`
Expand Down

0 comments on commit 9bb1c27

Please sign in to comment.