From 46bd3b3c6addb683703eff1461ec878d18f35026 Mon Sep 17 00:00:00 2001
From: Mauricio Giacomini Girardello <mgg12@inf.ufpr.br>
Date: Tue, 17 May 2016 14:34:56 -0300
Subject: [PATCH] authenticate search controller test requests

---
 test/controllers/v1/search_controller_test.rb | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/test/controllers/v1/search_controller_test.rb b/test/controllers/v1/search_controller_test.rb
index f01d4994..75df1fa2 100644
--- a/test/controllers/v1/search_controller_test.rb
+++ b/test/controllers/v1/search_controller_test.rb
@@ -1,8 +1,12 @@
+require 'test_helper'
+
 class V1::SearchControllerTest < ActionController::TestCase
+  tests V1::SearchController
 
   setup do
     LearningObject.reindex
     LearningObject.searchkick_index.refresh
+    auth_application
   end
 
   test 'should get index and return :ok' do
-- 
GitLab