mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 00:12:03 +02:00
added test env for repp endpoints
This commit is contained in:
parent
95f5bad64b
commit
7ec9253fc9
2 changed files with 2 additions and 2 deletions
|
@ -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'
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue