try another cookie format, ntg submits ntgauthtoken as cookie
This commit is contained in:
@@ -3,6 +3,7 @@ package main
|
||||
import (
|
||||
"fmt"
|
||||
"local/truckstop/config"
|
||||
"os"
|
||||
"testing"
|
||||
)
|
||||
|
||||
@@ -33,3 +34,10 @@ Content-Type: text/html; charset="UTF-8"
|
||||
t.Fatal(want, got)
|
||||
}
|
||||
}
|
||||
|
||||
func TestMain(t *testing.T) {
|
||||
os.Setenv("CONFIG", "./config.main_test.json")
|
||||
if err := _main(); err != nil {
|
||||
t.Fatal(err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user