condo icon indicating copy to clipboard operation
condo copied to clipboard

fix(condo): DOMA-9910 reset meters owner when reset organization

Open tolmachev21 opened this issue 1 year ago • 1 comments

Problem: our QA write automated tests. They use a specific set of addresses during testing. At some point, the test fails because it cannot create a meter in the management company, because it was already created earlier in another test for another organization at this address

Expected behavior: After passing all the tests, we want to delete the meter so that it does not belong to the previous management company and an error does not occur during creation

Solution: To ResetOrganizationService mutation added softDelete meters, meterResourceOwners, propertyMeter, meterReportingPeriods. And tests that check the work of this mutation

tolmachev21 avatar Oct 03 '24 16:10 tolmachev21