From 7ea79d24e67800bc8cb4737c8b439c7cca3310dc Mon Sep 17 00:00:00 2001 From: 0xrsydn Date: Fri, 27 Mar 2026 16:44:45 +0700 Subject: [PATCH] test: fixture test msn-only --- tests/fixtures/msn_insights_bbca.json | 31 ++++++++++++++++++---- tests/fixtures/msn_profile_bbca.json | 37 +++++++++++++++++---------- 2 files changed, 50 insertions(+), 18 deletions(-) diff --git a/tests/fixtures/msn_insights_bbca.json b/tests/fixtures/msn_insights_bbca.json index 1e4fe29..74cfc21 100644 --- a/tests/fixtures/msn_insights_bbca.json +++ b/tests/fixtures/msn_insights_bbca.json @@ -2,16 +2,37 @@ { "instrumentId": "bn91jc", "displayName": "Bank Central Asia Tbk PT", + "timeLastUpdated": "2026-03-26T04:14:57.9197955Z", "insights": [ { - "insightName": "Valuation", + "insightName": "P/E ratio", "category": "Valuation", - "insightStatement": "Shares trade near historical averages." + "insightStatement": "Unable to compare with peers due to missing earnings data", + "shortInsightStatement": "Earnings data unavailable, can't compare P/E ratio with peers", + "details": { + "evaluationStatus": "NA" + }, + "timeLastUpdated": "0001-01-01T00:00:00" }, { - "insightName": "Asset Quality", - "category": "Risk", - "insightStatement": "Loan quality remains stable." + "insightName": "Analyst price target", + "category": "Valuation", + "insightStatement": "BBCA target price is more than 20% higher than the current share price based on analyst forecast", + "shortInsightStatement": "Analysts forecast more than 20% upside for 12-month price target", + "details": { + "evaluationStatus": "good" + }, + "timeLastUpdated": "0001-01-01T00:00:00" + }, + { + "insightName": "Quarterly Revenue YoY Growth", + "category": "Earnings", + "insightStatement": "BBCA revenue declined by 6.09% YoY, which is 31.46% worse than its peers (25.37%)", + "shortInsightStatement": "Revenue grew worse than peers", + "details": { + "evaluationStatus": "bad" + }, + "timeLastUpdated": "0001-01-01T00:00:00" } ] } diff --git a/tests/fixtures/msn_profile_bbca.json b/tests/fixtures/msn_profile_bbca.json index 6403faa..204e5c2 100644 --- a/tests/fixtures/msn_profile_bbca.json +++ b/tests/fixtures/msn_profile_bbca.json @@ -1,18 +1,29 @@ [ { - "id": "bn91jc", - "symbol": "BBCA.JK", - "shortName": "BBCA", - "longName": "Bank Central Asia Tbk PT", - "description": "PT Bank Central Asia Tbk provides commercial banking services in Indonesia.", - "sector": "Financial Services", - "industry": "Banks", - "website": "https://www.bca.co.id", - "fullTimeEmployees": 24100, - "address": "Menara BCA, Grand Indonesia", - "city": "Jakarta", - "country": "Indonesia", - "phone": "+62-21-23588000", + "id": "feee16af-c94c-465d-a59d-a9727c22bd0e", + "symbol": "BBCA", + "shortName": "Bank Cntrl Asia", + "displayName": "Bank Central Asia Tbk PT", + "country": "ID", + "company": { + "address": { + "street": "Menara BCA, Grand, Jl. MH Thamrin No. 1", + "city": "JAKARTA PUSAT", + "country": "Indonesia", + "phone": "+62 21 23588000" + }, + "description": "PT Bank Central Asia Tbk (the Bank) is an Indonesia-based commercial bank.", + "employees": 27937, + "industry": "Banking Services", + "sector": "Financials", + "website": "https://www.bca.co.id/" + }, + "localizedAttributes": { + "en-us": { + "displayName": "PT Bank Central Asia Tbk", + "description": "PT Bank Central Asia Tbk (the Bank) is an Indonesia-based commercial bank." + } + }, "officers": [ { "name": "Jahja Setiaatmadja",