@@ -65,6 +65,7 @@ public void BackwardCompatibilityToV2()
6565 var config = new SubscriptionDataConfig ( instance . GetType ( ) , Symbol . None , Resolution . Daily , TimeZones . Utc , TimeZones . Utc , false , false , false ) ;
6666 var data = instance . Reader ( config , line , new DateTime ( 2024 , 2 , 12 ) , false ) as RegalyticsRegulatoryArticle ;
6767 Assert . AreEqual ( "2051381" , data . Id ) ;
68+ Assert . AreEqual ( DateTime . MinValue , data . SourcedAt ) ;
6869 }
6970
7071 private void AssertAreEqual ( object expected , object result , bool filterByCustomAttributes = false )
@@ -111,7 +112,8 @@ private BaseData CreateNewInstance()
111112 Agencies = new List < string > { "string" } ,
112113 Sector = new List < Dictionary < string , string > > { new Dictionary < string , string > { { "key" , "value" } } } ,
113114 AnnouncementUrl = "string" ,
114- CreatedAt = DateTime . MinValue
115+ CreatedAt = DateTime . MinValue ,
116+ SourcedAt = DateTime . MinValue ,
115117 } ;
116118 }
117119
@@ -145,7 +147,8 @@ private BaseData CreateNewCollectionInstance()
145147 Agencies = new List < string > { "string" } ,
146148 Sector = new List < Dictionary < string , string > > { new Dictionary < string , string > { { "key" , "value" } } } ,
147149 AnnouncementUrl = "string" ,
148- CreatedAt = DateTime . MinValue
150+ CreatedAt = DateTime . MinValue ,
151+ SourcedAt = DateTime . MinValue
149152 } ,
150153 new RegalyticsRegulatoryArticle
151154 {
@@ -173,7 +176,8 @@ private BaseData CreateNewCollectionInstance()
173176 Agencies = new List < string > { "string" } ,
174177 Sector = new List < Dictionary < string , string > > { new Dictionary < string , string > { { "key" , "value" } } } ,
175178 AnnouncementUrl = "string" ,
176- CreatedAt = DateTime . MinValue
179+ CreatedAt = DateTime . MinValue ,
180+ SourcedAt = DateTime . MinValue
177181 }
178182 } ;
179183 }
0 commit comments