2
0
mirror of https://github.com/VinylDNS/vinyldns synced 2025-08-22 02:02:14 +00:00

Resolve tests

This commit is contained in:
Aravindh-Raju 2022-11-08 10:43:43 +05:30
parent 22ea714d9d
commit cc1526f6e8
No known key found for this signature in database
GPG Key ID: 6B4D566AC36626F6
3 changed files with 6 additions and 6 deletions

View File

@ -116,7 +116,7 @@ class RecordSetServiceIntegrationSpec
AAAA,
38400,
RecordSetStatus.Active,
DateTime.now,
Instant.now.truncatedTo(ChronoUnit.MILLIS),
None,
List(AAAAData("fd69:27cc:fe91::60"))
)
@ -367,7 +367,7 @@ class RecordSetServiceIntegrationSpec
A,
38400,
RecordSetStatus.Active,
DateTime.now,
Instant.now.truncatedTo(ChronoUnit.MILLIS),
None,
List(AData("10.1.1.1"))
)
@ -386,7 +386,7 @@ class RecordSetServiceIntegrationSpec
AAAA,
38400,
RecordSetStatus.Active,
DateTime.now,
Instant.now.truncatedTo(ChronoUnit.MILLIS),
None,
List(AAAAData("fd69:27cc:fe91::60"))
)
@ -409,7 +409,7 @@ class RecordSetServiceIntegrationSpec
AAAA,
38400,
RecordSetStatus.Active,
DateTime.now,
Instant.now.truncatedTo(ChronoUnit.MILLIS),
None,
List(AAAAData("fd69:27cc:fe91::60"))
)

View File

@ -552,7 +552,7 @@ class BatchChangeConverterSpec extends AnyWordSpec with Matchers with CatsHelper
okUser.id,
okUser.userName,
None,
DateTime.now,
Instant.now.truncatedTo(ChronoUnit.MILLIS),
singleChangesOneDelete,
approvalStatus = BatchChangeApprovalStatus.AutoApproved
)

View File

@ -166,6 +166,6 @@ object TestMembershipData {
GroupChangeType.Update,
okUser.id,
Some(okGroup),
created = DateTime.now.secondOfDay().roundFloorCopy()
created = Instant.now.truncatedTo(ChronoUnit.SECONDS)
)
}