Fix tests.

This commit is contained in:
James Cole
2017-09-25 07:01:52 +02:00
parent 1a81cd45f2
commit 0b0e0054b3
6 changed files with 71 additions and 55 deletions

View File

@@ -66,9 +66,9 @@ class BunqInformation implements InformationInterface
}
Log::debug('Now in getAccounts()');
$sessionToken = $this->startSession();
$id = $this->getUserInformation($sessionToken);
$userId = $this->getUserInformation($sessionToken);
// get list of Bunq accounts:
$accounts = $this->getMonetaryAccounts($sessionToken, $id);
$accounts = $this->getMonetaryAccounts($sessionToken, $userId);
$return = [];
/** @var MonetaryAccountBank $account */
foreach ($accounts as $account) {