Skip to content
This repository has been archived by the owner on Mar 27, 2024. It is now read-only.

Fix test database creation error #112

Merged
merged 1 commit into from
Mar 11, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion internal/cmd/test/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ func runE(c *cobra.Command, args []string) error {

// drop the test db:
if err := test.Dialect.DropDB(); err != nil {
return err
// not an error, since the database will be created in the next step anyway
logrus.Info("no test database to drop")
}

// create the test db:
Expand Down