Opened 3 years ago

Closed 3 years ago

Last modified 3 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: master
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


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:1 Changed 3 years ago by Michael Manfre

Needs documentation: unset
Needs tests: unset
Patch needs improvement: unset

comment:2 Changed 3 years ago by Michael Manfre <mmanfre@…>

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 Changed 3 years ago by Anssi Kääriäinen <akaariai@…>

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