(t *testing.T)
| 19 | } |
| 20 | |
| 21 | func TestOffChainReadConfig(t *testing.T) { |
| 22 | config := OffChainConfig{} |
| 23 | os.Setenv("CONFIGPATH", "..") |
| 24 | config.LoadConfig() |
| 25 | assert.Equal(t, "BootstrapNode", config.NodeRole) |
| 26 | } |
| 27 | |
| 28 | func TestOnChainReadConfig(t *testing.T) { |
| 29 | os.Setenv("CONFIGPATH", "..") |
nothing calls this directly
no test coverage detected