Merge commit '163f96cee4dea23365bff9b433871e68d20d9ee7' into glitch-soc/merge-upstream

This commit is contained in:
Claire committed 2026-07-03 20:17:03 +02:00
commit ce2beafd66
5 files changed
+99 -5

No files matched your search

+6 -1
View File
@@ -51,11 +51,16 @@ namespace :tests do
exit(1)
end
if Account.find(Account::INSTANCE_ACTOR_ID).private_key.blank?
if Account.find(Account::INSTANCE_ACTOR_ID).keypair.blank?
puts 'Instance actor does not have a private key'
exit(1)
end
if Account.local.where.not(private_key: nil).exists?
puts 'Private keys not properly migrated'
exit(1)
end
unless Account.find_by(username: 'user', domain: nil).custom_filters.map { |filter| filter.keywords.pluck(:keyword) } == [['test'], ['take']]
puts 'CustomFilterKeyword records not created as expected'
exit(1)