mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-20 15:31:30 +02:00
Replace os.setenv to t.setenv
This commit is contained in:
@@ -332,7 +332,7 @@ func TestEngine_SSH(t *testing.T) {
|
||||
}
|
||||
|
||||
func TestEngine_UpdateNetworkMap(t *testing.T) {
|
||||
os.Setenv(envDisableLazyConn, "true")
|
||||
t.Setenv(envDisableLazyConn, "true")
|
||||
// test setup
|
||||
key, err := wgtypes.GeneratePrivateKey()
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user