diff --git a/tests/Tala/Billing/CardSave/GatewayTest.php b/tests/Tala/Billing/CardSave/GatewayTest.php
index <HASH>..<HASH> 100644
--- a/tests/Tala/Billing/CardSave/GatewayTest.php
+++ b/tests/Tala/Billing/CardSave/GatewayTest.php
@@ -22,10 +22,7 @@ class GatewayTest extends \PHPUnit_Framework_TestCase
         $this->httpClient = m::mock('\Tala\HttpClient\HttpClientInterface');
         $this->httpRequest = m::mock('\Symfony\Component\HttpFoundation\Request');
 
-        $this->gateway = new Gateway(array(
-            'httpClient' => $this->httpClient,
-            'httpRequest' => $this->httpRequest,
-        ));
+        $this->gateway = new Gateway($this->httpClient, $this->httpRequest);
 
         $this->request = new Request;
         $this->request->amount = 1000;
Move default gateway dependencies to factory class