Don't use nonsense in test factories
Simplify an ActiveRecord query
Fix stupid code
Remove an unused let
Don't use DateTime in factories for no reason
Make an internally used method private
Fix a warning
Don't use site.yml in test environment