Fix hook test.
@@ -26,5 +26,5 @@ def test_repo_transferred_hook(client, datadir, mocker):
response = post(client, "repository", json.loads(contents))
assert response.data
response_string = response.data.decode("utf-8")
- assert response_string.startswith("repo-added-")
+ assert response_string.startswith("Started updating the project using hook id repo-added-")
mocked_schedule.assert_called_once_with(update_project_by_hook, response_string)
