added test env for repp endpoints

This commit is contained in:
olegphenomenon 2021-12-13 09:43:30 +02:00
parent 95f5bad64b
commit 7ec9253fc9
2 changed files with 2 additions and 2 deletions

View file

@ -1,7 +1,7 @@
module Repp
module V1
module Registrar
if Rails.env.development? || Rails.env.staging?
if Rails.env.development? || Rails.env.staging? || Rails.env.test?
class AccreditationInfoController < BaseController
api :GET, 'repp/v1/registrar/accreditation/get_info'
desc 'check login user and return data'

View file

@ -1,7 +1,7 @@
module Repp
module V1
module Registrar
if Rails.env.development? || Rails.env.staging?
if Rails.env.development? || Rails.env.staging? || Rails.env.test?
class AccreditationResultsController < ActionController::API
before_action :authenticate_shared_key