Skip to content

Commit 25073c2

Browse files
author
Christian
committed
test case for IPV6
1 parent 7db3347 commit 25073c2

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ServiceControl.Config.Tests/Validation/AddAuditInstanceValidationTests.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,6 +321,8 @@ public void Audit_hostname_can_not_be_null_when_adding_audit_instance()
321321

322322
[TestCase("192.168.1.1")]
323323
[TestCase("256.0.0.0")]
324+
[TestCase("::1")]
325+
[TestCase("2001:0db8:85a3:0000:0000:8a2e:0370:7334")]
324326
public void Audit_hostname_can_be_an_ip_address_when_adding_audit_instance(string ipAddress)
325327
{
326328
var viewModel = new ServiceControlAddViewModel

0 commit comments

Comments
 (0)