Use is_binary instead of is_bitstring for restricted nicknames tests

This commit is contained in:
Sean King 2022-07-09 23:39:35 -06:00
parent 6e7b919637
commit 3cf6c2b7ea
No known key found for this signature in database
GPG key ID: 510C52BACD6E7257

View file

@ -621,7 +621,7 @@ defmodule Pleroma.UserTest do
clear_config([User, :restricted_nicknames], ["about"])
[restricted_name | _] = Pleroma.Config.get([User, :restricted_nicknames])
assert is_bitstring(restricted_name)
assert is_binary(restricted_name)
params =
@full_user_data
@ -636,7 +636,7 @@ defmodule Pleroma.UserTest do
clear_config([User, :restricted_nicknames], ["about"])
[restricted_name | _] = Pleroma.Config.get([User, :restricted_nicknames])
assert is_bitstring(restricted_name)
assert is_binary(restricted_name)
restricted_upcase_name = String.upcase(restricted_name)