mirror of
https://github.com/ansible/awx.git
synced 2024-11-02 01:21:21 +03:00
Need to grab just the first item for the scm test project update
This commit is contained in:
parent
e24538865f
commit
d3d84706a4
@ -1270,7 +1270,7 @@ class ProjectUpdatesTest(BaseTransactionTest):
|
||||
self.assertTrue(response['can_update'])
|
||||
with self.current_user(self.super_django_user):
|
||||
response = self.post(url, {}, expect=202)
|
||||
project_update = project.project_updates.order_by('-pk')
|
||||
project_update = project.project_updates.order_by('-pk')[0]
|
||||
self.check_project_update(project, should_fail=None,
|
||||
project_update=project_update)
|
||||
# Verify that we responded to ssh-agent prompt.
|
||||
|
Loading…
Reference in New Issue
Block a user