feature/add-jenkinsfile (#114)
Co-authored-by: Michael Hoennig <michael@hoennig.de> Co-authored-by: Michael Hönnig <michael@hoennig.de> Reviewed-on: https://dev.hostsharing.net/hostsharing/hs.hsadmin.ng/pulls/114 Reviewed-by: Timotheus Pokorra <timotheus.pokorra@hostsharing.net>
This commit is contained in:
@@ -176,6 +176,7 @@ class HsDomainDnsSetupHostingAssetValidatorUnitTest {
|
||||
// given
|
||||
final var givenEntity = validEntityBuilder().build();
|
||||
final var validator = HostingAssetEntityValidatorRegistry.forType(givenEntity.getType());
|
||||
Dns.fakeResultForDomain(givenEntity.getIdentifier(), Dns.Result.fromRecords());
|
||||
|
||||
// when
|
||||
final var errors = validator.validateContext(givenEntity);
|
||||
@@ -317,6 +318,7 @@ class HsDomainDnsSetupHostingAssetValidatorUnitTest {
|
||||
))
|
||||
.build();
|
||||
final var validator = HostingAssetEntityValidatorRegistry.forType(givenEntity.getType());
|
||||
Dns.fakeResultForDomain("example.org", Dns.Result.fromRecords());
|
||||
|
||||
// when
|
||||
final var errors = validator.validateContext(givenEntity);
|
||||
@@ -340,6 +342,7 @@ class HsDomainDnsSetupHostingAssetValidatorUnitTest {
|
||||
))
|
||||
.build();
|
||||
final var validator = HostingAssetEntityValidatorRegistry.forType(givenEntity.getType());
|
||||
Dns.fakeResultForDomain("example.org", Dns.Result.fromRecords());
|
||||
|
||||
// when
|
||||
final var zonefileErrors = new ArrayList<String>();
|
||||
|
Reference in New Issue
Block a user