Skip to content

Commit

Permalink
fixed conf for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
knoxfighter committed Nov 2, 2023
1 parent 4f2293f commit 1dcb4a1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions src/.env.example
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
factorio_username=
factorio_password=
conf=../../conf.json
FSM_CONF=../../conf.json
mod_dir=dev
mod_pack_dir=dev_pack
FSM_MODPACK_DIR=dev_pack
6 changes: 3 additions & 3 deletions src/api/mods_handler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ func TestMain(m *testing.M) {

// basic setup stuff
bootstrap.NewConfig([]string{
"--dir", os.Getenv("dir"),
"--conf", os.Getenv("conf"),
"--mod-pack-dir", os.Getenv("mod_pack_dir"),
"--dir", os.Getenv("FSM_DIR"),
"--conf", os.Getenv("FSM_CONF"),
"--mod-pack-dir", os.Getenv("FSM_MODPACK_DIR"),
"--mod-dir", os.Getenv("mod_dir"),
})

Expand Down

0 comments on commit 1dcb4a1

Please sign in to comment.