Files
gitlabhq/app/models
Stan HuandRobert Speicher 7232392c76 Merge branch '19035-fix-merge-issue' into 'master'
Fix a wrong MR status when merge_when_build_succeeds & project.only_allow_merge_if_build_succeeds are true

## What does this MR do?

Fix a wrong MR status when merge_when_build_succeeds & project.only_allow_merge_if_build_succeeds are true.

## Are there points in the code the reviewer needs to double check?

@stanhu I reused your proposal from the issue, I think it's a good enough solution.

## What are the relevant issue numbers?

Fixes #19035.

## Does this MR meet the acceptance criteria?

- [x] [CHANGELOG](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CHANGELOG) entry added
- Tests
  - [x] Added for this feature/bug
  - [ ] All builds are passing
- [ ] Conform by the [style guides](https://gitlab.com/gitlab-org/gitlab-ce/blob/master/CONTRIBUTING.md#style-guides)
- [x] Branch has no merge conflicts with `master` (if you do - rebase it please)
- [x] [Squashed related commits together](https://git-scm.com/book/en/Git-Tools-Rewriting-History#Squashing-Commits)

See merge request !4912
2016-06-24 16:54:24 -04:00
..
2011-10-09 00:36:38 +03:00
2016-05-18 08:47:15 -05:00
2016-03-06 23:07:19 -05:00
2016-03-29 12:19:09 +01:00
2016-05-18 23:45:25 -05:00
2016-06-01 16:22:35 +02:00
2016-05-31 11:24:58 -03:00
2016-06-14 08:36:07 +01:00