Skip to content

Commit

Permalink
phone_numbers: check that setting a number as main also makes it shared
Browse files Browse the repository at this point in the history
  • Loading branch information
DrPyser committed Nov 7, 2024
1 parent c8a4a33 commit 4fee5b0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions integration_tests/suite/base/test_phone_numbers.py
Original file line number Diff line number Diff line change
Expand Up @@ -475,6 +475,7 @@ def test_set_main_number(num1, num2):
has_entries(
uuid=num1['uuid'],
main=True,
shared=True,
),
)

Expand All @@ -499,6 +500,7 @@ def test_replace_main_number(num1, num2):
has_entries(
uuid=num1['uuid'],
main=True,
shared=True,
),
)

Expand All @@ -516,6 +518,7 @@ def test_replace_main_number(num1, num2):
has_entries(
uuid=num2['uuid'],
main=True,
shared=True,
),
)

Expand Down

0 comments on commit 4fee5b0

Please sign in to comment.