diff --git a/temba/channels/types/android/tests.py b/temba/channels/types/android/tests.py index 5302e7536c..ea2062dcd4 100644 --- a/temba/channels/types/android/tests.py +++ b/temba/channels/types/android/tests.py @@ -18,7 +18,7 @@ def test_claim(self, mr_mocks): # remove our explicit country so it needs to be derived from channels self.org.location = None self.org.timezone = "UTC" - self.org.save(update_fields=("country", "timezone")) + self.org.save(update_fields=("location", "timezone")) Channel.objects.all().delete() diff --git a/temba/orgs/tests/test_org.py b/temba/orgs/tests/test_org.py index 365a387a82..c14a0d717c 100644 --- a/temba/orgs/tests/test_org.py +++ b/temba/orgs/tests/test_org.py @@ -192,7 +192,7 @@ def test_default_country(self): # if location is set and name is valid country, that has priority self.org.location = Location.create(osm_id="171496", name="Ecuador", level=0) self.org.timezone = "Africa/Nairobi" - self.org.save(update_fields=("country", "timezone")) + self.org.save(update_fields=("location", "timezone")) self.assertEqual("EC", self.org.default_country.alpha_2)