Update profile package to changed deps

This commit is contained in:
Daniel
2019-07-02 16:19:47 +02:00
parent 36901e89d8
commit 9636777b30
3 changed files with 3 additions and 7 deletions

View File

@@ -1,6 +1,7 @@
package profile
import (
"context"
"net"
"testing"
"time"
@@ -140,7 +141,7 @@ func testEndpointIP(t *testing.T, set *Set, domain string, ip net.IP, protocol u
func TestProfileSet(t *testing.T) {
set := NewSet("[pid]-/path/to/bin", testUserProfile, testStampProfile)
set := NewSet(context.Background(), "[pid]-/path/to/bin", testUserProfile, testStampProfile)
set.Update(status.SecurityLevelDynamic)
testFlag(t, set, Whitelist, false)