Skip to content

Commit e495f0e

Browse files
queenvictorialbalmaceda
authored andcommitted
Update organisations tests with correct URL.
1 parent b691e51 commit e495f0e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

auth0/v3/test/management/test_organizations.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_get_organization_by_name(self, mock_rc):
4545

4646
args, kwargs = mock_instance.get.call_args
4747

48-
self.assertEqual('https://domain/api/v2/organizations', args[0])
48+
self.assertEqual('https://domain/api/v2/organizations/name/test-org', args[0])
4949
self.assertEqual(kwargs['params'], {'name': 'test-org'})
5050

5151
@mock.patch('auth0.v3.management.organizations.RestClient')

0 commit comments

Comments
 (0)