Skip to content

Commit

Permalink
Merge pull request #1881 from tactilenews/refactor-avoid-null-byte-ch…
Browse files Browse the repository at this point in the history
…aracters

refactor: avoid null-byte characters
  • Loading branch information
mattwr18 authored May 27, 2024
2 parents e7b3c6f + 5215919 commit 40f7b9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/factories/contributors.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
trait :threema_contributor do
after(:build) do |contributor|
contributor.email = nil
contributor.threema_id = Faker::String.random(length: 8)
contributor.threema_id = Faker::Alphanumeric.alpha(number: 8)
end
end

Expand Down

0 comments on commit 40f7b9d

Please sign in to comment.