From 910d426ad424bbb3c7f69fdbafe8ceff70e21c5a Mon Sep 17 00:00:00 2001 From: hackerESQ Date: Sat, 13 Sep 2025 22:20:48 -0500 Subject: [PATCH] add test --- tests/MarketDataTest.php | 11 +++++++++++ 1 file changed, 11 insertions(+) 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); + } }