cli/config: don't create devices (#23130)

This commit is contained in:
andig 2025-08-20 22:26:54 +02:00 • committed by GitHub
parent 59cb75974d
commit 6770f6db5b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 16 additions and 24 deletions

View file

@ -22,11 +22,8 @@ type circuitsTestSuite struct {
}
func (suite *circuitsTestSuite) SetupSuite() {
db, err := db.New("sqlite", ":memory:")
if err != nil {
suite.T().Fatal(err)
}
config.Init(db)
_ = db.NewInstance("sqlite", ":memory:")
config.Init()
}
func (suite *circuitsTestSuite) SetupTest() {