fix bug race registration
This commit is contained in:
@@ -109,7 +109,7 @@ class GarminObjects(DjangoTestCase):
|
||||
self.assertEqual(len(data),2)
|
||||
|
||||
def test_garmin_deregistration(self):
|
||||
data = {"userAccessToken":"dfdzf"}
|
||||
data = {"deregistrations":[{"userAccessToken":"dfdzf"}]}
|
||||
response = self.c.post('/rowers/garmin/deregistration/',json.dumps(data),
|
||||
content_type='application/json')
|
||||
|
||||
|
||||
Reference in New Issue
Block a user