Configure initial bank history in the connection UI
This commit is contained in:
@@ -87,7 +87,7 @@ func bankingAuthorization(t *testing.T, a *App, key *rsa.PrivateKey, appID, redi
|
||||
}
|
||||
provider.BaseURL = mock.URL
|
||||
provider.HTTPClient = mock.Client()
|
||||
if _, err := a.Authorize(context.Background(), "N26", "DE"); err != nil {
|
||||
if _, err := a.Authorize(context.Background(), "N26", "DE", 12); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
return pending
|
||||
@@ -244,7 +244,7 @@ func TestBankingSavedCredentialsAndDisableOverrideEnvironment(t *testing.T) {
|
||||
t.Fatal(err)
|
||||
}
|
||||
a = reopenBankingApp(t, a)
|
||||
if _, err := a.Authorize(ctx, "N26", "DE"); err == nil {
|
||||
if _, err := a.Authorize(ctx, "N26", "DE", 12); err == nil {
|
||||
t.Fatal("disabled saved configuration fell back to environment")
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user