From 3e3295bdc52494a0778e76e501b407e566c19081 Mon Sep 17 00:00:00 2001 From: 4Giedrius <4giedrius@gmail.com> Date: Wed, 14 Jan 2015 15:01:11 +0200 Subject: [PATCH] WebMoney tests updated --- tests/integration/bb-library/Payment/Adapter/WebMoneyTest.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tests/integration/bb-library/Payment/Adapter/WebMoneyTest.php b/tests/integration/bb-library/Payment/Adapter/WebMoneyTest.php index 04722b3b0..ec27088b1 100644 --- a/tests/integration/bb-library/Payment/Adapter/WebMoneyTest.php +++ b/tests/integration/bb-library/Payment/Adapter/WebMoneyTest.php @@ -10,7 +10,7 @@ class Payment_Adapter_WebMoneyTest extends BBDbApiTestCase { $config = array( 'purse' => 'test', - 'success_url' => 'http://www.google.com?q=success', + 'return_url' => 'http://www.google.com?q=success', 'cancel_url' => 'http://www.google.com?q=cancel', 'notify_url' => 'http://www.google.com?q=notify', ); @@ -24,6 +24,7 @@ class Payment_Adapter_WebMoneyTest extends BBDbApiTestCase 'LMI_SYS_TRANS_NO' => '1', 'LMI_PAYER_PURSE' => 'WMZ' ); + $adapter->setDi($this->di); $adapter->processTransaction($this->api_admin, 1, $data, 4); } } \ No newline at end of file