<commit_before>require 'test_helper'

class TaskTemplatesControllerTest < ActionController::TestCase
  fixtures :users, :companies, :task_templates, :customers, :projects
  context 'a logged in user' do
    def setup
      @request.with_subdomain('cit')
      @user = users(:admin)
      @request.session[:user_id] = @user.id<commit_msg>Small fix in TaskTemplatesControllerTest: use tasks fixtures, see previous commits.<commit_after>require 'test_helper'

class TaskTemplatesControllerTest < ActionController::TestCase
  fixtures :users, :companies, :tasks, :customers, :projects
  context 'a logged in user' do
    def setup
      @request.with_subdomain('cit')
      @user = users(:admin)
      @request.session[:user_id] = @user.id
{'fraction_non_alphanumeric': 0.10748299319727891, 'fraction_numerical': 0.0, 'mean_word_length': 4.983739837398374, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1783993', 'n_tokens_mistral': 218, 'n_tokens_neox': 213, 'n_words': 56}