Commit 207a1a63 authored by Pietro Albini's avatar Pietro Albini

Fix crash when creating new merge requests

parent 5c457290
......@@ -185,7 +185,7 @@ class TestsManager:
# The instance should be created
elif branch not in self.branches and obj["state"] == "opened":
self.branches[branch] = branches.Branch(self, branch, mr)
self.branches[branch] = branches.Branch(self, branch, obj["id"])
self.branches[branch].deploy()
self.instances.load_branch(self.branches[branch])
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment