Skip to content

Commit

Permalink
binary, not bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
mayel committed Oct 29, 2024
1 parent e9e2377 commit 1f0744b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/common/crypto_test.exs
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defmodule Bonfire.Common.Crypto.Test do
def secret_binary do
if Extend.module_exists?(ActivityPub.Safety.Keys),
do: ActivityPub.Safety.Keys.generate_rsa_pem(),
else: {:ok, Faker.Lorem.characters()}
else: {:ok, Faker.Lorem.paragraph()}
end

test "encrypt_with_auth_key returns properly structured result" do
Expand Down

0 comments on commit 1f0744b

Please sign in to comment.