Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#30087 closed Bug (fixed)

The error handling logic for empty default db config isn't tested

Reported by: Benjy Weinberger Owned by: nobody
Component: Database layer (models, ORM) Version: 2.1
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Currently there is a test for the case of an entirely empty DATABASES setting, but not for the case of a DATABASES setting that contains an entry for DEFAULT_DB_ALIAS, but that entry is itself empty.

Change History (3)

comment:3 by Benjy Weinberger, 5 years ago

Has patch: set
Last edited 5 years ago by Tim Graham (previous) (diff)

comment:4 by Tim Graham <timograham@…>, 5 years ago

Resolution: fixed
Status: newclosed

In c2c85663:

Fixed #30087 -- Tested error handling for empty 'default' database.

comment:5 by Tim Graham, 5 years ago

Component: UncategorizedDatabase layer (models, ORM)
Type: UncategorizedBug
Note: See TracTickets for help on using tickets.
Back to Top