Opened 6 years ago

Closed 6 years ago

Last modified 6 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, 6 years ago

Has patch: set
Version 0, edited 6 years ago by Benjy Weinberger (next)

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

Resolution: fixed
Status: newclosed

In c2c85663:

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

comment:5 by Tim Graham, 6 years ago

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