Skip to content

Commit

Permalink
fix: integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
flemzord committed Sep 26, 2024
1 parent 91d7f42 commit c991a36
Show file tree
Hide file tree
Showing 44 changed files with 124 additions and 124 deletions.
26 changes: 9 additions & 17 deletions tests/integration/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ toolchain go1.22.7
require (
github.com/docker/docker v27.3.1+incompatible
github.com/egymgmbh/go-prefix-writer v0.0.0-20180609083313-7326ea162eca
github.com/formancehq/auth v0.0.0-00010101000000-000000000000
github.com/formancehq/formance-sdk-go/v2 v2.0.0-00010101000000-000000000000
github.com/formancehq/auth v0.0.0-20240925213343-e5de0bb34c65
github.com/formancehq/formance-sdk-go/v3 v3.0.0
github.com/formancehq/go-libs v1.7.1
github.com/formancehq/ledger v0.0.0-00010101000000-000000000000
github.com/formancehq/ledger v0.0.0-20240925213413-0ef9d8eb67e6
github.com/formancehq/orchestration v0.0.0-00010101000000-000000000000
github.com/formancehq/payments v0.0.0-00010101000000-000000000000
github.com/formancehq/reconciliation v0.0.0-00010101000000-000000000000
github.com/formancehq/search v0.0.0-00010101000000-000000000000
github.com/formancehq/payments v0.0.0-20240925213419-a849e779040f
github.com/formancehq/reconciliation v0.0.0-20240926152910-eda505f2fcd3
github.com/formancehq/search v0.0.0-20240926085257-6b5288dc2576
github.com/formancehq/stack/libs/events v0.0.0-00010101000000-000000000000
github.com/formancehq/wallets v0.0.0-00010101000000-000000000000
github.com/formancehq/webhooks v0.0.0-00010101000000-000000000000
github.com/formancehq/wallets v0.0.0-20240926151232-c6fc6e393af0
github.com/formancehq/webhooks v0.0.0-20240926142120-a19c8730abaa
github.com/golang-jwt/jwt v3.2.2+incompatible
github.com/google/uuid v1.6.0
github.com/jackc/pgx/v5 v5.7.1
Expand Down Expand Up @@ -271,16 +271,8 @@ require (
)

replace (
github.com/formancehq/auth => github.com/formancehq/auth v0.0.0-20240925174204-6f5cb5948775
github.com/formancehq/formance-sdk-go/v2 => ../../releases/sdks/go
github.com/formancehq/ledger => github.com/formancehq/ledger v0.0.0-20240925161848-3cf78b93df02
github.com/formancehq/orchestration => ../../ee/orchestration
github.com/formancehq/payments => github.com/formancehq/payments v0.0.0-20240925171236-82f077b2e178
github.com/formancehq/orchestration => github.com/formancehq/flows v0.0.0-20240926150344-d8c14fc9e76c
github.com/formancehq/payments/genericclient => github.com/formancehq/payments/cmd/connectors/internal/connectors/generic/client/generated v0.0.0-20240925171236-82f077b2e178
github.com/formancehq/reconciliation => ../../ee/reconciliation
github.com/formancehq/search => github.com/formancehq/search v0.0.0-20240925174151-fe1cfd5a69cd
github.com/formancehq/stack/libs/events => ../../libs/events
github.com/formancehq/wallets => ../../ee/wallets
github.com/formancehq/webhooks => github.com/formancehq/webhooks v0.0.0-20240925174047-7d4341ccfc5f
github.com/zitadel/oidc => github.com/formancehq/oidc v0.0.0-20220923202448-e2960a99b71c
)
28 changes: 18 additions & 10 deletions tests/integration/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -788,20 +788,28 @@ github.com/felixge/httpsnoop v1.0.4 h1:NFTV2Zj1bL4mc9sqWACXbQFVBBg2W3GPvqp8/ESS2
github.com/felixge/httpsnoop v1.0.4/go.mod h1:m8KPJKqk1gH5J9DgRY2ASl2lWCfGKXixSwevea8zH2U=
github.com/fogleman/gg v1.2.1-0.20190220221249-0403632d5b90/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
github.com/fogleman/gg v1.3.0/go.mod h1:R/bRT+9gY/C5z7JzPU0zXsXHKM4/ayA+zqcVNZzPa1k=
github.com/formancehq/auth v0.0.0-20240925174204-6f5cb5948775 h1:i4kSl3M+DSlIb2t/HEcnjT5cg3rJuk5XDSkB97kpQes=
github.com/formancehq/auth v0.0.0-20240925174204-6f5cb5948775/go.mod h1:sKfqRI3+6IZ0X+wrKRM0jLRRE2YyaMXGLm1iBBSlYn4=
github.com/formancehq/auth v0.0.0-20240925213343-e5de0bb34c65 h1:O7N8feKFJNSPkGpz0B52yS28mj1i8irCku9OMAtTnAo=
github.com/formancehq/auth v0.0.0-20240925213343-e5de0bb34c65/go.mod h1:sKfqRI3+6IZ0X+wrKRM0jLRRE2YyaMXGLm1iBBSlYn4=
github.com/formancehq/flows v0.0.0-20240926150344-d8c14fc9e76c h1:wSCzJfftp32Ifu5Ldy0DB2hRsrw6pGC544E5tmLYiBo=
github.com/formancehq/flows v0.0.0-20240926150344-d8c14fc9e76c/go.mod h1:BYDgQK6k1hxpD/ebqOmgWsTwDJL1uWt8asHXSwAy00k=
github.com/formancehq/formance-sdk-go/v3 v3.0.0 h1:UIzVMJSPUBUSm29Zg50tZjM0f101WeWHYlu0ClfUk2c=
github.com/formancehq/formance-sdk-go/v3 v3.0.0/go.mod h1:ZBBYCgtDgde68qMW5nZ9lfliM8W1D3ZI/BpZ+RdhD3c=
github.com/formancehq/go-libs v1.7.1 h1:9D5cxKWFlVtdX5AYDXeUz1Nb9PdoEfQX0f/yeLsU324=
github.com/formancehq/go-libs v1.7.1/go.mod h1:pWTScpoyieF7OoJ6WVmXNG9NhDjbZbAmFqd7UOw85iI=
github.com/formancehq/ledger v0.0.0-20240925161848-3cf78b93df02 h1:0jB2JrN653A25DxUh4THjujWFZseMQqg5VMwGQxv7gc=
github.com/formancehq/ledger v0.0.0-20240925161848-3cf78b93df02/go.mod h1:sGscj1S3S2ndAzOPVFQFBuC72YF8t+OAm/hcqDcxpxI=
github.com/formancehq/payments v0.0.0-20240925171236-82f077b2e178 h1:hDGGwY8D0/RvoxIxxdGrGP1b/J7DP7aoZlC+vV1/NPU=
github.com/formancehq/payments v0.0.0-20240925171236-82f077b2e178/go.mod h1:U4BNKrXyhCtk6pkZVNJjaLFkg5B9RQk3RiQq9gt18CY=
github.com/formancehq/ledger v0.0.0-20240925213413-0ef9d8eb67e6 h1:VjlFSyIPbX7T22+3q0pD7BhQjOYY1mNHubytWrwJLEE=
github.com/formancehq/ledger v0.0.0-20240925213413-0ef9d8eb67e6/go.mod h1:sGscj1S3S2ndAzOPVFQFBuC72YF8t+OAm/hcqDcxpxI=
github.com/formancehq/payments v0.0.0-20240925213419-a849e779040f h1:CY2/cYc3VWCjomlnSxfGNgfnAYnmVvx6hxxirq/6/RU=
github.com/formancehq/payments v0.0.0-20240925213419-a849e779040f/go.mod h1:U4BNKrXyhCtk6pkZVNJjaLFkg5B9RQk3RiQq9gt18CY=
github.com/formancehq/payments/cmd/connectors/internal/connectors/generic/client/generated v0.0.0-20240925171236-82f077b2e178 h1:2bb1Zg4XtgrRDhqR0g/lSnnfyrgjh2FrqNh2UK4LpCs=
github.com/formancehq/payments/cmd/connectors/internal/connectors/generic/client/generated v0.0.0-20240925171236-82f077b2e178/go.mod h1:Xsj5yVWO0e2XZx45RjL93JbPa+78CzNoSRlITuDA97c=
github.com/formancehq/search v0.0.0-20240925174151-fe1cfd5a69cd h1:zsv//syEUoJWo2VswR9vXvrbDAAoxm8rLXkCxYl114s=
github.com/formancehq/search v0.0.0-20240925174151-fe1cfd5a69cd/go.mod h1:vmUx4wanfOqGBZk0t2bhAXx+r+Pp9WaIA1UQQNc9Zds=
github.com/formancehq/webhooks v0.0.0-20240925174047-7d4341ccfc5f h1:hOm4zNG8Z/RH4TlISdGx3AzHvtFPtMuaV1tx4bvKIho=
github.com/formancehq/webhooks v0.0.0-20240925174047-7d4341ccfc5f/go.mod h1:ILmAle/plVuBCFjUKZtI3wrAFcyzbHbuKbXyrd/VtWA=
github.com/formancehq/reconciliation v0.0.0-20240926152910-eda505f2fcd3 h1:/7JCaSog8ln3QePn3JsknpR+M7YdiUWlhR3kTYhWkX8=
github.com/formancehq/reconciliation v0.0.0-20240926152910-eda505f2fcd3/go.mod h1:BQchlzhK8fdnPm8sfLSUWu2nslMRLEGsbHprjlw5O8c=
github.com/formancehq/search v0.0.0-20240926085257-6b5288dc2576 h1:2PuiQ5FPsyseXDs+8UoyvpS1Qgysh597ReyapnHB3Ig=
github.com/formancehq/search v0.0.0-20240926085257-6b5288dc2576/go.mod h1:vmUx4wanfOqGBZk0t2bhAXx+r+Pp9WaIA1UQQNc9Zds=
github.com/formancehq/wallets v0.0.0-20240926151232-c6fc6e393af0 h1:i9eaK3EUEeYwDvJyOiSgWtT9XLGEMzJQ9rgkIFZXIHE=
github.com/formancehq/wallets v0.0.0-20240926151232-c6fc6e393af0/go.mod h1:y8X2TaG5ar3gGQorP+fRxJ4wokpl9SbHW8vkyvDOYW4=
github.com/formancehq/webhooks v0.0.0-20240926142120-a19c8730abaa h1:6CWp15MLLH0ntpdWErj9+DXWHEGlCyocRW1YR/gw6+M=
github.com/formancehq/webhooks v0.0.0-20240926142120-a19c8730abaa/go.mod h1:ILmAle/plVuBCFjUKZtI3wrAFcyzbHbuKbXyrd/VtWA=
github.com/fortytw2/leaktest v1.3.0 h1:u8491cBMTQ8ft8aeV+adlcytMZylmA5nnwwkRZjI8vw=
github.com/fortytw2/leaktest v1.3.0/go.mod h1:jDsjWgpAGjm2CA7WthBh/CdZYEPF31XHquHwclZch5g=
github.com/gabriel-vasile/mimetype v1.4.3 h1:in2uUcidCuFcDKtdcBxlR0rJ1+fsokWf+uqxgUFjbI0=
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/internal/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package internal

import (
"context"
formance "github.com/formancehq/formance-sdk-go/v2"
formance "github.com/formancehq/formance-sdk-go/v3"
"github.com/formancehq/go-libs/logging"
"github.com/oauth2-proxy/mockoidc"
. "github.com/onsi/ginkgo/v2"
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/suite/auth-client-credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package suite

import (
"fmt"
formance "github.com/formancehq/formance-sdk-go/v2"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
formance "github.com/formancehq/formance-sdk-go/v3"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
"github.com/formancehq/go-libs/collectionutils"
. "github.com/formancehq/stack/tests/integration/internal"
"github.com/formancehq/stack/tests/integration/internal/modules"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/suite/ledger-aggregated-balances.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"net/http"
"time"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
. "github.com/formancehq/stack/tests/integration/internal"
"github.com/formancehq/stack/tests/integration/internal/modules"
. "github.com/onsi/ginkgo/v2"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/suite/ledger-create-bulk.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import (
"net/http"
"time"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
"github.com/formancehq/go-libs/metadata"
. "github.com/formancehq/stack/tests/integration/internal"
"github.com/formancehq/stack/tests/integration/internal/modules"
Expand Down
10 changes: 5 additions & 5 deletions tests/integration/suite/ledger-create-transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import (
"net/http"
"time"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/sdkerrors"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/sdkerrors"
"github.com/formancehq/stack/tests/integration/internal/modules"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
ledgerevents "github.com/formancehq/ledger/pkg/events"
"github.com/formancehq/stack/libs/events"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
"github.com/formancehq/go-libs/metadata"
"github.com/formancehq/go-libs/pointer"
ledgerevents "github.com/formancehq/ledger/pkg/events"
"github.com/formancehq/stack/libs/events"
. "github.com/formancehq/stack/tests/integration/internal"
"github.com/nats-io/nats.go"
. "github.com/onsi/ginkgo/v2"
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/suite/ledger-create.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"net/http"
"strings"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/sdkerrors"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/sdkerrors"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
"github.com/formancehq/go-libs/pointer"
. "github.com/formancehq/stack/tests/integration/internal"
"github.com/formancehq/stack/tests/integration/internal/modules"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/suite/ledger-delete-metadata.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package suite

import (
"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
. "github.com/formancehq/stack/tests/integration/internal"
"github.com/formancehq/stack/tests/integration/internal/modules"
. "github.com/onsi/ginkgo/v2"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/suite/ledger-import-export.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package suite

import (
"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
"github.com/formancehq/go-libs/pointer"
. "github.com/formancehq/stack/tests/integration/internal"
"github.com/formancehq/stack/tests/integration/internal/modules"
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/suite/ledger-list-count-accounts.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@ import (
"sort"
"time"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/sdkerrors"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/sdkerrors"
"github.com/formancehq/go-libs/pointer"
"github.com/formancehq/stack/tests/integration/internal/modules"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
"github.com/formancehq/go-libs/metadata"
. "github.com/formancehq/stack/tests/integration/internal"
. "github.com/onsi/ginkgo/v2"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/suite/ledger-list-logs.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ import (
"sort"
"time"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
. "github.com/formancehq/stack/tests/integration/internal"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/suite/ledger-list-transactions.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ import (
"sort"
"time"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/sdkerrors"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/sdkerrors"
"github.com/formancehq/stack/tests/integration/internal/modules"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
"github.com/formancehq/go-libs/metadata"
"github.com/formancehq/go-libs/pointer"
. "github.com/formancehq/stack/tests/integration/internal"
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/suite/ledger-list.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ package suite

import (
"fmt"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
. "github.com/formancehq/stack/tests/integration/internal"
"github.com/formancehq/stack/tests/integration/internal/modules"
. "github.com/onsi/ginkgo/v2"
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/suite/ledger-revert-transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,15 @@ import (
"net/http"
"time"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/sdkerrors"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/sdkerrors"
"github.com/formancehq/go-libs/pointer"
"github.com/formancehq/stack/tests/integration/internal/modules"
"github.com/nats-io/nats.go"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
ledgerevents "github.com/formancehq/ledger/pkg/events"
"github.com/formancehq/stack/libs/events"
. "github.com/formancehq/stack/tests/integration/internal"
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/suite/ledger-search-ingestion-v1.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package suite

import (
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
"github.com/formancehq/go-libs/publish"
. "github.com/formancehq/stack/tests/integration/internal"
"github.com/formancehq/stack/tests/integration/internal/modules"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/suite/ledger-set-metadata-on-account.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ import (
"reflect"
"time"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
ledgerevents "github.com/formancehq/ledger/pkg/events"
"github.com/formancehq/stack/libs/events"
. "github.com/formancehq/stack/tests/integration/internal"
Expand Down
6 changes: 3 additions & 3 deletions tests/integration/suite/ledger-set-metadata-on-transaction.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ import (
"net/http"
"time"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/sdkerrors"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/sdkerrors"
"github.com/formancehq/stack/tests/integration/internal/modules"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
. "github.com/formancehq/stack/tests/integration/internal"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/suite/ledger-update-metadata.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package suite

import (
"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
. "github.com/formancehq/stack/tests/integration/internal"
"github.com/formancehq/stack/tests/integration/internal/modules"
. "github.com/onsi/ginkgo/v2"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/suite/ledger-use-alternate-bucket.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package suite

import (
"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
"github.com/formancehq/go-libs/pointer"
. "github.com/formancehq/stack/tests/integration/internal"
"github.com/formancehq/stack/tests/integration/internal/modules"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/suite/ledger-v1-get-balances.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (

"github.com/formancehq/stack/tests/integration/internal/modules"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
. "github.com/formancehq/stack/tests/integration/internal"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/suite/ledger-volumes-list.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ import (
"net/http"
"time"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
. "github.com/formancehq/stack/tests/integration/internal"
"github.com/formancehq/stack/tests/integration/internal/modules"
. "github.com/onsi/ginkgo/v2"
Expand Down
8 changes: 4 additions & 4 deletions tests/integration/suite/orchestration-triggers.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ import (
"net/http/httptest"
"time"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
orchestrationevents "github.com/formancehq/orchestration/pkg/events"
paymentsevents "github.com/formancehq/payments/pkg/events"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
"github.com/formancehq/go-libs/api"
"github.com/formancehq/go-libs/publish"
orchestrationevents "github.com/formancehq/orchestration/pkg/events"
paymentsevents "github.com/formancehq/payments/pkg/events"
. "github.com/formancehq/stack/tests/integration/internal"
"github.com/formancehq/stack/tests/integration/internal/modules"
"github.com/google/uuid"
Expand Down
2 changes: 1 addition & 1 deletion tests/integration/suite/orchestration-workflows-create.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package suite

import (
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
. "github.com/formancehq/stack/tests/integration/internal"
"github.com/formancehq/stack/tests/integration/internal/modules"
. "github.com/onsi/ginkgo/v2"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import (
"net/http"
"time"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
. "github.com/formancehq/stack/tests/integration/internal"
. "github.com/onsi/ginkgo/v2"
. "github.com/onsi/gomega"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/suite/orchestration-workflows-execute.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"net/http"
"time"

"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
"github.com/formancehq/go-libs/metadata"
. "github.com/formancehq/stack/tests/integration/internal"
. "github.com/onsi/ginkgo/v2"
Expand Down
4 changes: 2 additions & 2 deletions tests/integration/suite/orchestration-workflows-list.go
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
package suite

import (
"github.com/formancehq/formance-sdk-go/v2/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v2/pkg/models/shared"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/operations"
"github.com/formancehq/formance-sdk-go/v3/pkg/models/shared"
. "github.com/formancehq/stack/tests/integration/internal"
"github.com/formancehq/stack/tests/integration/internal/modules"
. "github.com/onsi/ginkgo/v2"
Expand Down
Loading

0 comments on commit c991a36

Please sign in to comment.