mirror of
https://github.com/ae-utbm/sith.git
synced 2025-11-10 14:03:12 +00:00
rename User.is_subscriber_viewable => User.is_viewable
This commit is contained in:
@@ -55,7 +55,7 @@ class TestFetchFamilyApi(TestCase):
|
||||
assert response.status_code == 403
|
||||
|
||||
def test_fetch_family_hidden_user(self):
|
||||
self.main_user.is_subscriber_viewable = False
|
||||
self.main_user.is_viewable = False
|
||||
self.main_user.save()
|
||||
for user_to_login, error_code in [
|
||||
(self.main_user, 200),
|
||||
|
||||
Reference in New Issue
Block a user