Skip to content

Commit c759e42

Browse files
committed
apply review suggestion
1 parent 1e263de commit c759e42

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ra/ra_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -667,7 +667,7 @@ func TestPerformValidationSuccess(t *testing.T) {
667667

668668
// Check that validated timestamp was recorded, stored, and retrieved
669669
expectedValidated := fc.Now()
670-
test.Assert(t, expectedValidated.Equal(*challenge.Validated), "Validated timestamp incorrect or missing")
670+
test.AssertEquals(t, *challenge.Validated, expectedValidated)
671671
}
672672
}
673673

@@ -879,7 +879,7 @@ func TestPerformValidationVAError(t *testing.T) {
879879

880880
// Check that validated timestamp was recorded, stored, and retrieved
881881
expectedValidated := fc.Now()
882-
test.Assert(t, expectedValidated.Equal(*challenge.Validated), "Validated timestamp incorrect or missing")
882+
test.AssertEquals(t, *challenge.Validated, expectedValidated)
883883
}
884884

885885
func TestCertificateKeyNotEqualAccountKey(t *testing.T) {

0 commit comments

Comments
 (0)