mirror of
https://github.com/netbox-community/netbox.git
synced 2025-07-27 02:48:38 -06:00
Fix parameters for ObjectChangeTestCase
This commit is contained in:
parent
ed912aa206
commit
71ec5d853b
@ -113,7 +113,7 @@ class ObjectChangeTestCase(TestCase):
|
||||
|
||||
url = reverse('extras:objectchange_list')
|
||||
params = {
|
||||
"user": User.objects.first(),
|
||||
"user": User.objects.first().pk,
|
||||
}
|
||||
|
||||
response = self.client.get('{}?{}'.format(url, urllib.parse.urlencode(params)))
|
||||
|
Loading…
Reference in New Issue
Block a user