Created attachment 57546 [details] [review] Bug 17646: Remove itemtype-related IssueSlip.t warnings This patch makes t/db_dependent/Members/IssueSlip.t create good sample data for its tests. It does so by creating a random itemtype. To test: - Run $ prove t/db_dependent/Members/IssueSlip.t => FAIL: lots of warnings about "item-level_itypes set but no itemtype set for item" - Apply the patch - Run: $ prove t/db_dependent/Members/IssueSlip.t => SUCCESS: Tests are green, and no warnings. - Sign off :-D Sponsored-by: ByWater Solutions
Created attachment 57553 [details] [review] [SIGNED-OFF]Bug 17646: Remove itemtype-related IssueSlip.t warnings This patch makes t/db_dependent/Members/IssueSlip.t create good sample data for its tests. It does so by creating a random itemtype. To test: - Run $ prove t/db_dependent/Members/IssueSlip.t => FAIL: lots of warnings about "item-level_itypes set but no itemtype set for item" - Apply the patch - Run: $ prove t/db_dependent/Members/IssueSlip.t => SUCCESS: Tests are green, and no warnings. - Sign off :-D Sponsored-by: ByWater Solutions Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> All test pass successfuly
Created attachment 57592 [details] [review] [PASSED QA] Bug 17646: Remove itemtype-related IssueSlip.t warnings This patch makes t/db_dependent/Members/IssueSlip.t create good sample data for its tests. It does so by creating a random itemtype. To test: - Run $ prove t/db_dependent/Members/IssueSlip.t => FAIL: lots of warnings about "item-level_itypes set but no itemtype set for item" - Apply the patch - Run: $ prove t/db_dependent/Members/IssueSlip.t => SUCCESS: Tests are green, and no warnings. - Sign off :-D Sponsored-by: ByWater Solutions Signed-off-by: Hector Castro <hector.hecaxmmx@gmail.com> All test pass successfuly Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Pushed to master for 16.11, thanks Tomas!
Pushed to 16.05.x, for 16.05.06 release