コード例 #1
0
        public void Import_updates_officer_info_for_companies_in_ukrlp()
        {
            // This test takes hours to run in full, due to the Companies House API rate limit of 600 requests / 5 mins
            // There are approx 25000 records in UKRLP to be cross-referenced against Companies House officers data

            var importer = new CompaniesHouseDataImporter(new TestDataRepository(_config, _repoLogger.Object), _importLogger.Object, _client);

            var result = importer.ImportCompanyOfficerData().GetAwaiter().GetResult();

            result.Should().BeTrue();
        }