From ae7687325a669e8746c714bb46e2ba90bacfe276 Mon Sep 17 00:00:00 2001 From: Matthew Casperson Date: Fri, 28 Feb 2025 11:33:59 +1000 Subject: [PATCH] Tested more fields --- cmd/octoterra_test.go | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/cmd/octoterra_test.go b/cmd/octoterra_test.go index a6171adc..fcdbe378 100644 --- a/cmd/octoterra_test.go +++ b/cmd/octoterra_test.go @@ -10102,6 +10102,14 @@ func TestMachineProxies(t *testing.T) { if v.Host != "localhost" { return errors.New("the machine proxy must be have a host of \"localhost\"") } + + if v.Username != "admin" { + return errors.New("the machine proxy must be have a username of \"admin\"") + } + + if v.Port != 100 { + return errors.New("the machine proxy must be have a port of 100") + } } }