Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#21746 closed Bug (fixed)

test_get_reverse_on_unsaved_object doesn't respect DatabaseFeatures.ignores_nulls_in_unique_constraints

Reported by: Michael Manfre Owned by: nobody
Component: Testing framework Version: dev
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

test_get_reverse_on_unsaved_object doesn't respect DatabaseFeatures.ignores_nulls_in_unique_constraints by attempting to insert multiple NULL rows in to a unique constraint.

Change History (3)

comment:2 by Michael Manfre <mmanfre@…>, 10 years ago

Resolution: fixed
Status: newclosed

In 1dbbdb29a040106f072a4a0315a066a251cc4939:

Fixed #21746 - Fixed test_get_reverse_on_unsaved_object test.

Test will no longer attempt to insert multiple NULL rows in to a unique
field if the database doesn't support it.

comment:3 by Anssi Kääriäinen <akaariai@…>, 10 years ago

In fa250c2cf9d9f7b06468e010c86594bf4bb55cf5:

Merge pull request #2151 from manfre/ticket-21746

Fixed #21746 - Fixed test_get_reverse_on_unsaved_object test.

Note: See TracTickets for help on using tickets.
Back to Top