Opened 11 years ago
Closed 11 years ago
#21005 closed Bug (fixed)
Schema tests are language-dependant
Reported by: | Claude Paroz | Owned by: | |
---|---|---|---|
Component: | Migrations | Version: | dev |
Severity: | Normal | Keywords: | |
Cc: | Triage Stage: | Ready for checkin | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In the new schema tests, there is a check about the content of message errors in SchemaTests.delete_tables
. Some databases are returning translated error messages, so this is too fragile. An alternative would be to test if the table exists before trying to delete it.
Attachments (1)
Change History (5)
comment:1 by , 11 years ago
Triage Stage: | Unreviewed → Accepted |
---|
comment:2 by , 11 years ago
Has patch: | set |
---|
by , 11 years ago
Attachment: | 21005-1.2.diff added |
---|
comment:3 by , 11 years ago
Triage Stage: | Accepted → Ready for checkin |
---|
comment:4 by , 11 years ago
Owner: | set to |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Tests pass and the new approach is way less convoluted.