tests: update to reflect trigger API changes
This commit is contained in:
parent
852aa33101
commit
c238626c56
1 changed files with 2 additions and 2 deletions
|
@ -2444,13 +2444,13 @@ class FakeBuildTrigger(BuildTriggerBase):
|
|||
|
||||
def activate(self, trigger_uuid, standard_webhook_url, auth_token, config):
|
||||
config['active'] = True
|
||||
return config
|
||||
return config, {}
|
||||
|
||||
def deactivate(self, auth_token, config):
|
||||
config['active'] = False
|
||||
return config
|
||||
|
||||
def manual_start(self, auth_token, config, run_parameters=None):
|
||||
def manual_start(self, trigger, run_parameters=None):
|
||||
return ('foo', ['bar'], 'build-name', 'subdir', {'foo': 'bar'})
|
||||
|
||||
def dockerfile_url(self, auth_token, config):
|
||||
|
|
Reference in a new issue