From 1b9f83915ca3407598adc0bed62c8eb4addc86c9 Mon Sep 17 00:00:00 2001 From: adlerhurst <27845747+adlerhurst@users.noreply.github.com> Date: Mon, 28 Jul 2025 11:07:41 +0200 Subject: [PATCH] add trusted domain test cases --- .../storage/database/repository/instance_domain_test.go | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/backend/v3/storage/database/repository/instance_domain_test.go b/backend/v3/storage/database/repository/instance_domain_test.go index 788885751e..693d7f9a0b 100644 --- a/backend/v3/storage/database/repository/instance_domain_test.go +++ b/backend/v3/storage/database/repository/instance_domain_test.go @@ -374,11 +374,9 @@ func TestListInstanceDomains(t *testing.T) { Type: domain.DomainTypeCustom, }, { - InstanceID: instanceID, - Domain: gofakeit.DomainName(), - IsPrimary: gu.Ptr(false), - IsGenerated: gu.Ptr(false), - Type: domain.DomainTypeCustom, + InstanceID: instanceID, + Domain: gofakeit.DomainName(), + Type: domain.DomainTypeTrusted, }, }