mirror of
https://github.com/netbirdio/netbird.git
synced 2026-07-20 23:41:28 +02:00
Remove testing.T.Context() as it's added in go1.24
This commit is contained in:
@@ -67,7 +67,7 @@ func Test_LatestVersion(t *testing.T) {
|
||||
return nil
|
||||
}
|
||||
m.currentVersion = c.daemonVersion
|
||||
m.Start(t.Context())
|
||||
m.Start(context.Background())
|
||||
m.SetVersion("latest")
|
||||
var triggeredInit bool
|
||||
select {
|
||||
@@ -179,7 +179,7 @@ func Test_HandleUpdate(t *testing.T) {
|
||||
}
|
||||
|
||||
m.currentVersion = c.daemonVersion
|
||||
m.Start(t.Context())
|
||||
m.Start(context.Background())
|
||||
m.SetVersion(c.expectedVersion)
|
||||
|
||||
var updateTriggered bool
|
||||
|
||||
Reference in New Issue
Block a user