From 02a54aed212fb69dbacbbd8629ea1fe3b272cddf Mon Sep 17 00:00:00 2001 From: jwijenbergh Date: Mon, 9 Dec 2024 14:06:02 +0100 Subject: Profile: Implement priority --- internal/api/api_test.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'internal/api/api_test.go') diff --git a/internal/api/api_test.go b/internal/api/api_test.go index 1f70b20..5034465 100644 --- a/internal/api/api_test.go +++ b/internal/api/api_test.go @@ -274,6 +274,7 @@ func TestAPIInfo(t *testing.T) { "default_gateway": false, "display_name": "test profile 1", "profile_id": "test1", + "profile_priority": 3, "vpn_proto_list": [ "openvpn", "wireguard" @@ -291,6 +292,7 @@ func TestAPIInfo(t *testing.T) { ID: "test1", DisplayName: "test profile 1", VPNProtoList: []string{"openvpn", "wireguard"}, + Priority: 3, DefaultGateway: false, }, }, -- cgit v1.2.3