mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2026-01-06 03:13:15 -06:00
[bugfix] Make accounts media_only query also work with pg (#643)
This commit is contained in:
parent
5864954e2e
commit
2385b51d58
3 changed files with 26 additions and 7 deletions
|
|
@ -41,6 +41,7 @@ func (suite *BundbNewTestSuite) TestCreateNewDB() {
|
|||
func (suite *BundbNewTestSuite) TestCreateNewSqliteDBNoAddress() {
|
||||
// create a new db with no address specified
|
||||
config.SetDbAddress("")
|
||||
config.SetDbType("sqlite")
|
||||
db, err := bundb.NewBunDBService(context.Background())
|
||||
suite.EqualError(err, "'db-address' was not set when attempting to start sqlite")
|
||||
suite.Nil(db)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue