Skip to content

Commit 5c35d60

Browse files
Update tests after adding funding entry point to the CurrencyCloud class
1 parent 3937f58 commit 5c35d60

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

src/CurrencyCloud.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
use CurrencyCloud\EntryPoint\ReportsEntryPoint;
1717
use CurrencyCloud\EntryPoint\TransactionsEntryPoint;
1818
use CurrencyCloud\EntryPoint\TransfersEntryPoint;
19+
use CurrencyCloud\EntryPoint\FundingEntryPoint;
1920
use CurrencyCloud\EventDispatcher\Event\BeforeClientRequestEvent;
2021
use CurrencyCloud\EventDispatcher\Event\ClientHttpErrorEvent;
2122
use CurrencyCloud\EventDispatcher\Listener\BeforeClientRequestListener;
@@ -211,7 +212,7 @@ public static function createDefault(Session $session, Client $client = null)
211212
new TransactionsEntryPoint($client),
212213
new TransfersEntryPoint($entityManager, $client),
213214
new VansEntryPoint($entityManager, $client),
214-
new FundingEntryPoint($entityManager, $client)
215+
new FundingEntryPoint($client)
215216
);
216217
}
217218

tests/BaseCurrencyCloudVCRTestCase.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
use CurrencyCloud\EntryPoint\BeneficiariesEntryPoint;
1111
use CurrencyCloud\EntryPoint\ContactsEntryPoint;
1212
use CurrencyCloud\EntryPoint\ConversionsEntryPoint;
13+
use CurrencyCloud\EntryPoint\FundingEntryPoint;
1314
use CurrencyCloud\EntryPoint\IbansEntryPoint;
1415
use CurrencyCloud\EntryPoint\PayersEntryPoint;
1516
use CurrencyCloud\EntryPoint\PaymentsEntryPoint;
@@ -84,7 +85,8 @@ protected function getClient(
8485
new RatesEntryPoint($client),
8586
new TransactionsEntryPoint($client),
8687
new TransfersEntryPoint($entityManager, $client),
87-
new VansEntryPoint($entityManager, $client)
88+
new VansEntryPoint($entityManager, $client),
89+
new FundingEntryPoint($client)
8890
);
8991
}
9092

0 commit comments

Comments
 (0)