Skip to content

Commit 9303651

Browse files
Fix failing test
1 parent d8b2e58 commit 9303651

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/deploy_test.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,8 @@ describe('deploy', function () {
3535
};
3636
context = {
3737
comment: sinon.stub(),
38-
job: {project: {name: 'foo', branches: []}, ref: {branch: 'master'}}
38+
job: {project: {name: 'foo', branches: [{name: 'master'}]}, ref: {branch: 'master'}},
39+
branch: 'master'
3940
};
4041
sinon.stub(Client.prototype, 'connect');
4142
deploy.configure(config)(context);

0 commit comments

Comments
 (0)