message: fix(market-matcher-core): adjust to device-registry region, province changes
diff: @@ -20,6 +20,8 @@ interface IMockOptions {
  isFilledDemand?: boolean;
  location?: string[];
  vintage?: [Year, Year];
  + region?: string;
  + province?: string;
  }
  describe('MatchableDemand tests', () => {
  @@ -33,6 +35,8 @@ describe('MatchableDemand tests', () => {
  const country = 'Thailand';
  const address =
  '95 Moo 7, Sa Si Mum Sub-district, Kamphaeng Saen District, Nakhon Province 73140';
  + const region = 'Central';
  + const province = 'Nakhon Pathom';
  const createMatchingMocks = (options: IMockOptions) => {
  const demandOffChainProperties = Substitute.for<Demand.IDemandOffChainProperties>();
  @@ -67,6 +71,8 @@ describe('MatchableDemand tests', () => {
  );
  producingDeviceOffChainProperties.country.returns(country);
  producingDeviceOffChainProperties.address.returns(options.address || address);
  + producingDeviceOffChainProperties.region.returns(options.region || region);
  + producingDeviceOffChainProperties.province.returns(options.province || province);
  producingDeviceOffChainProperties.operationalSince.returns(
  options.producingDeviceOperationalSince || 0
  );
  @@ -170,7 +176,9 @@ describe('MatchableDemand tests', () => {
  it('should not match demand with from different location', async () => {
  const { demand, certificate, producingDevice } = createMatchingMocks({
  - address: 'Warsaw, Poland'
  + address: 'Warsaw, Poland',
  + region: 'Mazovian',
  + province: 'Warsaw'
  });
  const matchableDemand = new MatchableDemand(demand);
  