[TEST] made catch request more accurate in REST tests runner
Excluded 404, 403 and 409 status codes from the catch request as they have their own specific catch codes
This commit is contained in:
parent
64c43c6dc0
commit
9361305177
|
@ -131,6 +131,6 @@ public class DoSection implements ExecutableSection {
|
|||
catches.put("missing", tuple("404", equalTo(404)));
|
||||
catches.put("conflict", tuple("409", equalTo(409)));
|
||||
catches.put("forbidden", tuple("403", equalTo(403)));
|
||||
catches.put("request", tuple("4xx|5xx", greaterThanOrEqualTo(400)));
|
||||
catches.put("request", tuple("4xx|5xx", allOf(greaterThanOrEqualTo(400), not(equalTo(404)), not(equalTo(409)), not(equalTo(403)))));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue