Skip to content

Commit 4a77bd2

Browse files
committed
Update organization membership test
1 parent e9d9c68 commit 4a77bd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/sentry/api/endpoints/test_organization_index.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@ class OrganizationsListTest(APITestCase):
1212
def path(self):
1313
return reverse('sentry-api-0-organizations')
1414

15-
def test_simple(self):
15+
def test_membership(self):
1616
org = self.create_organization(owner=self.user)
1717
self.login_as(user=self.user)
18-
response = self.client.get(self.path)
18+
response = self.client.get('{}?member=1'.format(self.path))
1919
assert response.status_code == 200
2020
assert len(response.data) == 1
2121
assert response.data[0]['id'] == str(org.id)

0 commit comments

Comments
 (0)