foreman
foreman copied to clipboard
Fixes #37589 - Store the BuildStatus in DB
The method to refrsh the build status is called by before_validation and the BuildStatus object is able to determine the status correctly - but unfortunately, it is not stored on to the DB.
Actually, the failed tests proves, that this PR is necessary because otherwise the Build status is not stored to DB.
Do you agree? If this is the case, I need to fix the tests, but how?