Opened 16 months ago

Closed 16 months ago

Last modified 16 months ago

#21746 closed Bug (fixed)

test_get_reverse_on_unsaved_object doesn't respect DatabaseFeatures.ignores_nulls_in_unique_constraints

Reported by: 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

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:1 Changed 16 months ago by manfre

  • Needs documentation unset
  • Needs tests unset
  • Patch needs improvement unset

comment:2 Changed 16 months ago by Michael Manfre <mmanfre@…>

  • Resolution set to fixed
  • Status changed from new to closed

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 16 months 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