zuul/tests/fixtures/config/requirements
Markus Hosch 89359b161b Fix reject clauses in the absence of approvals
This change fixes a behavior that might be surprising to a
user: If a reject clause is configured for a pipeline, the reject clause
is always true even if no approval is set. If, however, an unrelated
approval is added to the change, the reject clause is evaluated as
expected.

The root cause was a check that assumed that the absence of approvals
will lead to a negative filter result. However, this is only true for
requirements.

Change-Id: I220bbed931ced7e807febefbf2b1b33af53a8da0
2018-08-13 12:37:32 +02:00
..
email Update test fixtures to use explicit run 2017-10-26 15:59:41 -07:00
newer-than Update test fixtures to use explicit run 2017-10-26 15:59:41 -07:00
older-than Update test fixtures to use explicit run 2017-10-26 15:59:41 -07:00
reject Fix reject clauses in the absence of approvals 2018-08-13 12:37:32 +02:00
reject-username Update test fixtures to use explicit run 2017-10-26 15:59:41 -07:00
state Update test fixtures to use explicit run 2017-10-26 15:59:41 -07:00
username Update test fixtures to use explicit run 2017-10-26 15:59:41 -07:00
vote1 Update test fixtures to use explicit run 2017-10-26 15:59:41 -07:00
vote2 Update test fixtures to use explicit run 2017-10-26 15:59:41 -07:00