summaryrefslogtreecommitdiff
path: root/internal/api/api_test.go
diff options
context:
space:
mode:
authorjwijenbergh <jeroenwijenbergh@protonmail.com>2024-12-09 14:06:02 +0100
committerjwijenbergh <jwijenbergh@noreply.codeberg.org>2024-12-09 15:48:36 +0000
commit02a54aed212fb69dbacbbd8629ea1fe3b272cddf (patch)
tree69207041816328e7e0aa85660ff2837d9f4d9cd8 /internal/api/api_test.go
parentf88a7b917db9dab7c3d7a26b7a7ece11c4d5eb20 (diff)
Profile: Implement priority
Diffstat (limited to 'internal/api/api_test.go')
-rw-r--r--internal/api/api_test.go2
1 files changed, 2 insertions, 0 deletions
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,
},
},