fix(system.GetInfo) changed all nil contexts to context.TODO()

This commit is contained in:
shatoboar
2022-05-20 17:18:29 +02:00
parent c349fc8a4e
commit 4a499530ee
2 changed files with 8 additions and 6 deletions

View File

@@ -1,13 +1,14 @@
package system
import (
"context"
"testing"
"github.com/stretchr/testify/assert"
)
func Test_LocalVersion(t *testing.T) {
got := GetInfo(nil)
got := GetInfo(context.TODO())
want := "development"
assert.Equal(t, want, got.WiretrusteeVersion)
}