summaryrefslogtreecommitdiff
path: root/test/unit
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit')
-rw-r--r--test/unit/identity_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/identity_test.rb b/test/unit/identity_test.rb
index cb0f6bd..77104b6 100644
--- a/test/unit/identity_test.rb
+++ b/test/unit/identity_test.rb
@@ -177,7 +177,9 @@ class IdentityTest < ActiveSupport::TestCase
end
def cert_stub
- @cert_stub ||= stub expiry: 1.month.from_now,
+ # make this expire later than the others so it's on top
+ # when sorting by expiry descending.
+ @cert_stub ||= stub expiry: 2.month.from_now,
fingerprint: SecureRandom.hex
end
end