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