mirror of
https://github.com/status-im/consul.git
synced 2025-02-08 20:05:09 +00:00
Forcing the Env variable to empty while testing the default shell logic
This commit is contained in:
parent
2fdcf1ae28
commit
3d68d06ac7
@ -585,6 +585,7 @@ func TestDockerCheckWhenExecInfoFails(t *testing.T) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func TestDockerCheckDefaultToSh(t *testing.T) {
|
func TestDockerCheckDefaultToSh(t *testing.T) {
|
||||||
|
os.Setenv("SHELL", "")
|
||||||
mock := &MockNotify{
|
mock := &MockNotify{
|
||||||
state: make(map[string]string),
|
state: make(map[string]string),
|
||||||
updates: make(map[string]int),
|
updates: make(map[string]int),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user