mirror of
https://github.com/casdoor/casdoor.git
synced 2025-09-07 11:00:28 +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