| Summary: | Koha/Patron.t is failing randomly | ||
|---|---|---|---|
| Product: | Koha | Reporter: | Jonathan Druart <jonathan.druart> |
| Component: | Test Suite | Assignee: | Jonathan Druart <jonathan.druart> |
| Status: | CLOSED FIXED | QA Contact: | Testopia <testopia> |
| Severity: | normal | ||
| Priority: | P5 - low | CC: | martin.renvoize |
| Version: | unspecified | Keywords: | rel_22_11_candidate |
| Hardware: | All | ||
| OS: | All | ||
| See Also: | https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32350 | ||
| GIT URL: | Initiative type: | --- | |
| Sponsorship status: | --- | Crowdfunding goal: | 0 |
| Patch complexity: | --- | Documentation contact: | |
| Documentation submission: | Text to go in the release notes: | ||
| Version(s) released in: |
22.11.00
|
Circulation function: | |
| Bug Depends on: | |||
| Bug Blocks: | 25551 | ||
| Attachments: |
Bug 32343: Prevent Koha/Patron.t to fail randomly
Bug 32343: Prevent Koha/Patron.t to fail randomly |
||
Created attachment 144223 [details] [review] Bug 32343: Prevent Koha/Patron.t to fail randomly Highlighted by Bug 32030: fix test builder for boolean The attribute is named "unique_id", not "unique" Created attachment 144224 [details] [review] Bug 32343: Prevent Koha/Patron.t to fail randomly Highlighted by Bug 32030: fix test builder for boolean The attribute is named "unique_id", not "unique" Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Fix confirmed, going straight for QA. Passed This makes me wonder however.. should we be throwing errors in testbuilder if we're passed unrecognised fields in the values param? (In reply to Martin Renvoize from comment #4) > This makes me wonder however.. should we be throwing errors in testbuilder > if we're passed unrecognised fields in the values param? Bue 32350 Pushed to master for 22.11. Nice work everyone, thanks! |
t/db_dependent/Koha/Patron.t .. # Failed test 'Exception thrown on unique attribute' # at t/db_dependent/Koha/Patron.t line 251. # expecting: Koha::Exceptions::Patron::Attribute::UniqueIDConstraint # found: normal exit # Failed test 'Extended attributes storing rolled back' # at t/db_dependent/Koha/Patron.t line 255. # got: '2' # expected: '0' # Looks like you failed 2 tests of 5. # Failed test 'unique attributes tests' # at t/db_dependent/Koha/Patron.t line 259. # Looks like you failed 1 test of 16. t/db_dependent/Koha/Patron.t .. 1/1 # Failed test 'extended_attributes' # at t/db_dependent/Koha/Patron.t line 393.