diff --git a/tests/MarketDataTest.php b/tests/MarketDataTest.php index a4150ec..24edf79 100644 --- a/tests/MarketDataTest.php +++ b/tests/MarketDataTest.php @@ -68,4 +68,15 @@ class MarketDataTest extends TestCase 'symbol' => '', ]); } + + public function test_market_data_standardizes_currency_codes() + { + + $quote = new Quote([ + 'symbol' => 'ACME', + 'currency' => 'GBp', + ]); + + $this->assertEquals('GBX', $quote->currency); + } }