From 5552bb8a2de35106ec044d6b8ad2886825788a3e Mon Sep 17 00:00:00 2001 From: Mateusz Filipowicz Date: Tue, 7 Jan 2025 11:30:28 +0100 Subject: [PATCH] fix: add ulp_user_id to fix account tests --- unifi/account_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unifi/account_test.go b/unifi/account_test.go index 4b6b8e7..88f2864 100644 --- a/unifi/account_test.go +++ b/unifi/account_test.go @@ -16,11 +16,11 @@ func TestAccountMarshalJSON(t *testing.T) { acc unifi.Account }{ "empty strings": { - `{"vlan":"","tunnel_type":"","tunnel_medium_type":""}`, + `{"vlan":"","tunnel_type":"","tunnel_medium_type":"","ulp_user_id":""}`, unifi.Account{}, }, "response": { - `{"vlan":10,"tunnel_type":1,"tunnel_medium_type":1}`, + `{"vlan":10,"tunnel_type":1,"tunnel_medium_type":1, "ulp_user_id":""}`, unifi.Account{ VLAN: 10, TunnelType: 1,