mirror of
https://github.com/casdoor/casdoor.git
synced 2025-07-05 05:50:19 +08:00
feat: set createDatabase to false in TestDumpToFile() (#3924)
This commit is contained in:
@ -20,6 +20,7 @@ package object
|
||||
import "testing"
|
||||
|
||||
func TestDumpToFile(t *testing.T) {
|
||||
createDatabase = false
|
||||
InitConfig()
|
||||
|
||||
err := DumpToFile("./init_data_dump.json")
|
||||
|
Reference in New Issue
Block a user