Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa563d8

Browse files
committed
fix wrong method call
1 parent 3193799 commit aa563d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

auth0/v3/test/management/test_organizations.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,11 +60,11 @@ def test_create_organization(self, mock_rc):
6060
)
6161

6262
@mock.patch('auth0.v3.management.organizations.RestClient')
63-
def test_update(self, mock_rc):
63+
def test_update_organization(self, mock_rc):
6464
mock_instance = mock_rc.return_value
6565

6666
c = Organizations(domain='domain', token='jwttoken')
67-
c.update('this-id', {'a': 'b', 'c': 'd'})
67+
c.update_organization('this-id', {'a': 'b', 'c': 'd'})
6868

6969
args, kwargs = mock_instance.patch.call_args
7070

0 commit comments

Comments
 (0)