Skip to content

Commit

Permalink
Updating File exchange references
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisnharvey committed Jul 2, 2013
1 parent 9fe5fd3 commit 886bfaf
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions tests/CurrencyTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use Moltin\Currency\Currency;
use Moltin\Currency\Storage\Session as SessionStore;
use Moltin\Currency\Currencies\File as FileCurrencies;
use Moltin\Currency\Exchange\File as FileExchange;
use Moltin\Currency\Exchange\Runtime as RuntimeExchange;

class CurrencyTest extends \PHPUnit_Framework_TestCase
{
Expand All @@ -15,7 +15,7 @@ class CurrencyTest extends \PHPUnit_Framework_TestCase

public function setUp()
{
$this->exchange = new FileExchange(new SessionStore, new FileCurrencies, array('base' => 'GBP', 'app_id' => ''));
$this->exchange = new RuntimeExchange(new SessionStore, new FileCurrencies, array('base' => 'GBP', 'app_id' => ''));
}

public function tearDown()
Expand Down
4 changes: 2 additions & 2 deletions tests/ExchangeTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
use Moltin\Currency\Currency;
use Moltin\Currency\Storage\Session as SessionStore;
use Moltin\Currency\Currencies\File as FileCurrencies;
use Moltin\Currency\Exchange\File as FileExchange;
use Moltin\Currency\Exchange\Runtime as RuntimeExchange;

class ExchangeTest extends \PHPUnit_Framework_TestCase
{
Expand All @@ -16,7 +16,7 @@ class ExchangeTest extends \PHPUnit_Framework_TestCase
public function __construct()
{
// Create required objects
$this->exchange = new FileExchange(new SessionStore, new FileCurrencies, array('base' => 'GBP', 'app_id' => ''));
$this->exchange = new RuntimeExchange(new SessionStore, new FileCurrencies, array('base' => 'GBP', 'app_id' => ''));

// Pull down rates
$this->exchange->update();
Expand Down

0 comments on commit 886bfaf

Please sign in to comment.