We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e9d9c68 commit 4a77bd2Copy full SHA for 4a77bd2
tests/sentry/api/endpoints/test_organization_index.py
@@ -12,10 +12,10 @@ class OrganizationsListTest(APITestCase):
12
def path(self):
13
return reverse('sentry-api-0-organizations')
14
15
- def test_simple(self):
+ def test_membership(self):
16
org = self.create_organization(owner=self.user)
17
self.login_as(user=self.user)
18
- response = self.client.get(self.path)
+ response = self.client.get('{}?member=1'.format(self.path))
19
assert response.status_code == 200
20
assert len(response.data) == 1
21
assert response.data[0]['id'] == str(org.id)
0 commit comments