Skip to content

Instantly share code, notes, and snippets.

@djgraham
Created October 28, 2019 01:29
Show Gist options
  • Save djgraham/23608b6185d73e78bd44354f6dc201b7 to your computer and use it in GitHub Desktop.
Save djgraham/23608b6185d73e78bd44354f6dc201b7 to your computer and use it in GitHub Desktop.
OB connection_issue! PPT steps
Login to the usual dev FA account: https://fac.intNN.free.ag
create a new bank account
Create an Open Banking Modelo feed (choose any bank feed other than RBSG), Modelo login is mits / mits
Make sure to select at least one account and and complete setup to bank feed enablement.
Go into the int server console `devkit console int<NN>`
Find the bank feed you just created (`BankFeed.last` should find it)
Make sure you can mark it as connection issue, by calling the `connection_issue!` method on the bank feed object
Check that it's state has changed to `connection_issue`
Go back into the bank account in the FA app and check that the bank feed is no longer enabled.
It will display an 'enable feed' button but don't worry about this for now. Another PR will address this.
FIN
Optional testing:
Make sure you can enable a second bank feed, and disable it for Open Banking.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment