File tree Expand file tree Collapse file tree 9 files changed +14
-14
lines changed
Expand file tree Collapse file tree 9 files changed +14
-14
lines changed Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ import (
1111 "github.com/stretchr/testify/assert"
1212 "github.com/stretchr/testify/require"
1313
14- square "github.com/square/square-go-sdk/v2 "
15- "github.com/square/square-go-sdk/v2 /catalog"
16- "github.com/square/square-go-sdk/v2 /core"
14+ square "github.com/square/square-go-sdk/v3 "
15+ "github.com/square/square-go-sdk/v3 /catalog"
16+ "github.com/square/square-go-sdk/v3 /core"
1717)
1818
1919// Catalog API integration tests.
Original file line number Diff line number Diff line change @@ -11,9 +11,9 @@ import (
1111 "github.com/google/uuid"
1212 "github.com/stretchr/testify/require"
1313
14- square "github.com/square/square-go-sdk/v2 "
15- client "github.com/square/square-go-sdk/v2 /client"
16- option "github.com/square/square-go-sdk/v2 /option"
14+ square "github.com/square/square-go-sdk/v3 "
15+ client "github.com/square/square-go-sdk/v3 /client"
16+ option "github.com/square/square-go-sdk/v3 /option"
1717)
1818
1919// SourceID represents the payment source ID for the sandbox environment.
Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ import (
77 "fmt"
88 "testing"
99
10- "github.com/square/square-go-sdk/v2 /orders"
10+ "github.com/square/square-go-sdk/v3 /orders"
1111
1212 "github.com/stretchr/testify/assert"
1313 "github.com/stretchr/testify/require"
1414
15- square "github.com/square/square-go-sdk/v2 "
15+ square "github.com/square/square-go-sdk/v3 "
1616)
1717
1818// Orders API integration tests.
Original file line number Diff line number Diff line change 33package integration
44
55import (
6- square "github.com/square/square-go-sdk/v2 "
6+ square "github.com/square/square-go-sdk/v3 "
77)
88
99// Simplified data structure for [square.OrderLineItem].
Original file line number Diff line number Diff line change 66 "context"
77 "testing"
88
9- square "github.com/square/square-go-sdk/v2 "
9+ square "github.com/square/square-go-sdk/v3 "
1010 "github.com/stretchr/testify/assert"
1111 "github.com/stretchr/testify/require"
1212)
Original file line number Diff line number Diff line change 33package integration
44
55import (
6- square "github.com/square/square-go-sdk/v2 "
6+ square "github.com/square/square-go-sdk/v3 "
77)
88
99type TestPaymentRequest struct {
Original file line number Diff line number Diff line change 99 "github.com/stretchr/testify/assert"
1010 "github.com/stretchr/testify/require"
1111
12- square "github.com/square/square-go-sdk/v2 "
12+ square "github.com/square/square-go-sdk/v3 "
1313)
1414
1515// Teams API integration tests.
Original file line number Diff line number Diff line change 88 "errors"
99 "hash"
1010
11- v2 "github.com/square/square-go-sdk/v2 "
11+ v2 "github.com/square/square-go-sdk/v3 "
1212)
1313
1414// VerifySignature verifies and validates an event notification.
Original file line number Diff line number Diff line change 44 "context"
55 "testing"
66
7- square "github.com/square/square-go-sdk/v2 "
7+ square "github.com/square/square-go-sdk/v3 "
88 "github.com/stretchr/testify/assert"
99)
1010
You can’t perform that action at this time.
0 commit comments