Results and waivers that Policy.check() takes as arguments should all be related to given item.
This was broken in 6e23596 by passing results and waivers for all items.
I broke making decision for multiple items/packages - broken in greenwave-0.7.1. :(
I need to write some tests for this.
Hmmm. PR#184 effectively undoes commit 6e23596 too, I think. So we could just go with that instead...?
But certainly more test cases would not hurt.
Regardless, :+1: for this if we need to urgently roll out a fix.
:+1:
Pull-Request has been merged by lholecek
Results and waivers that Policy.check() takes as arguments should all be
related to given item.
This was broken in 6e23596 by passing results and waivers for all items.