| Summary: | Remove itemtype-related t/db_dependent/Holds/RevertWaitingStatus.t warnings | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Tomás Cohen Arazi (tcohen) <tomascohen> |
| Component: | Test Suite | Assignee: | Tomás Cohen Arazi (tcohen) <tomascohen> |
| Status: | CLOSED FIXED | QA Contact: | Galen Charlton <gmcharlt> |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | kyle |
| Version: | Main | ||
| Hardware: | All | ||
| OS: | All | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Comma delimited list of Sponsors: | |
| Crowdfunding goal: | 0 | Patch complexity: | --- |
| Documentation contact: | Documentation submission: | ||
| Text to go in the release notes: | Version(s) released in: | ||
| Circulation function: | |||
| Attachments: |
Bug 17715: Remove itemtype-related t/db_dependent/Holds/RevertWaitingStatus.t warnings
[SIGNED-OFF] Bug 17715: Remove itemtype-related t/db_dependent/Holds/RevertWaitingStatus.t warnings Bug 17715: Remove itemtype-related t/db_dependent/Holds/RevertWaitingStatus.t warnings |
||
|
Description
Tomás Cohen Arazi (tcohen)
2016-12-02 17:32:04 UTC
Created attachment 57937 [details] [review] Bug 17715: Remove itemtype-related t/db_dependent/Holds/RevertWaitingStatus.t warnings This patch makes t/db_dependent/Holds/RevertWaitingStatus.t create good sample data for its tests. It does so by creating a random itemtype. To test: - Run $ prove t/db_dependent/Holds/RevertWaitingStatus.t => FAIL: lots of warnings about "item-level_itypes set but no itemtype set for item" - Apply the patch - Run: $ prove t/db_dependent/Holds/RevertWaitingStatus.t => SUCCESS: Tests are green, and no warnings. - Sign off :-D Created attachment 57940 [details] [review] [SIGNED-OFF] Bug 17715: Remove itemtype-related t/db_dependent/Holds/RevertWaitingStatus.t warnings This patch makes t/db_dependent/Holds/RevertWaitingStatus.t create good sample data for its tests. It does so by creating a random itemtype. To test: - Run $ prove t/db_dependent/Holds/RevertWaitingStatus.t => FAIL: lots of warnings about "item-level_itypes set but no itemtype set for item" - Apply the patch - Run: $ prove t/db_dependent/Holds/RevertWaitingStatus.t => SUCCESS: Tests are green, and no warnings. - Sign off :-D Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Created attachment 57959 [details] [review] Bug 17715: Remove itemtype-related t/db_dependent/Holds/RevertWaitingStatus.t warnings This patch makes t/db_dependent/Holds/RevertWaitingStatus.t create good sample data for its tests. It does so by creating a random itemtype. To test: - Run $ prove t/db_dependent/Holds/RevertWaitingStatus.t => FAIL: lots of warnings about "item-level_itypes set but no itemtype set for item" - Apply the patch - Run: $ prove t/db_dependent/Holds/RevertWaitingStatus.t => SUCCESS: Tests are green, and no warnings. - Sign off :-D Signed-off-by: Mark Tompsett <mtompset@hotmail.com> Signed-off-by: Jonathan Druart <jonathan.druart@biblibre.com> Pushed to master for 17.05, thanks Tomas! This patch has been pushed to 16.11.x, will be in 16.11.01. |