about summary refs log tree commit diff
path: root/lib/tasks/tests.rake
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2022-04-27 08:48:21 +0200
committerClaire <claire.github-309c@sitedethib.com>2022-04-27 08:48:21 +0200
commitfc1dd81ea50e3a12ce6a298103a94d2f5445d7d2 (patch)
tree43038bf3550f8f162495dfc8d9cc077ad1da4052 /lib/tasks/tests.rake
parenta481af15a9b2a7829c2a849906aa4b475ccdbd98 (diff)
parentbf75fba7942574f9b3b126084477693e9cc179c6 (diff)
Merge branch 'main' into glitch-soc/merge-upstream
Conflicts:
- `package.json`:
  Not a real conflict, upstream dependency updated textually too close to a
  glitch-soc-only dependency.
  Updated the upstream dependency.
Diffstat (limited to 'lib/tasks/tests.rake')
-rw-r--r--lib/tasks/tests.rake5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/tasks/tests.rake b/lib/tasks/tests.rake
index 8082f32fb..0f3b44a74 100644
--- a/lib/tasks/tests.rake
+++ b/lib/tasks/tests.rake
@@ -33,6 +33,11 @@ namespace :tests do
         puts 'AccountConversation records not created as expected'
         exit(1)
       end
+
+      if Account.find(-99).private_key.blank?
+        puts 'Instance actor does not have a private key'
+        exit(1)
+      end
     end
 
     desc 'Populate the database with test data for 2.4.0'