Skip to content

Commit

Permalink
more unit test fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
caffix committed Oct 28, 2024
1 parent 6d225ac commit a87622f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions repository/entity_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ func TestRepository(t *testing.T) {
description: "create an FQDN and link it with another FQDN",
sourceAsset: &domain.FQDN{Name: "www.example.com"},
destinationAsset: &domain.FQDN{Name: "www.example.subdomain.com"},
relation: relation.BasicDNSRelation{Name: "cname_record"},
relation: relation.BasicDNSRelation{Name: "dns_record"},
},
{
description: "create an Autonomous System and link it with an RIR organization",
Expand All @@ -227,7 +227,7 @@ func TestRepository(t *testing.T) {
description: "create an FQDN and link it with an IP address",
sourceAsset: &domain.FQDN{Name: "www.domain.com"},
destinationAsset: &network.IPAddress{Address: ip2, Type: "IPv4"},
relation: relation.BasicDNSRelation{Name: "a_record"},
relation: relation.BasicDNSRelation{Name: "dns_record"},
},
{
description: "create an Autonomous System and link it with a Netblock",
Expand Down

0 comments on commit a87622f

Please sign in to comment.