From 1f0744bc958e2d31c326bc0c097aa111f8575dff Mon Sep 17 00:00:00 2001 From: Mayel de Borniol Date: Tue, 29 Oct 2024 18:16:47 +0000 Subject: [PATCH] binary, not bytes --- test/common/crypto_test.exs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/common/crypto_test.exs b/test/common/crypto_test.exs index 0317304..2049bd3 100644 --- a/test/common/crypto_test.exs +++ b/test/common/crypto_test.exs @@ -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