Fix a test to use the new calling convention for get_build_trigger.
This commit is contained in:
parent
e863b96166
commit
aa62395777
1 changed files with 1 additions and 1 deletions
|
@ -2342,7 +2342,7 @@ class TestBuildTriggers(ApiTestCase):
|
|||
self.assertEquals(True, activate_json['is_active'])
|
||||
|
||||
# Make sure the trigger has a write token.
|
||||
trigger = model.get_build_trigger(ADMIN_ACCESS_USER, 'simple', trigger.uuid)
|
||||
trigger = model.get_build_trigger(trigger.uuid)
|
||||
self.assertNotEquals(None, trigger.write_token)
|
||||
self.assertEquals(True, py_json.loads(trigger.config)['active'])
|
||||
|
||||
|
|
Reference in a new issue