mirror of
https://github.com/internetee/registry.git
synced 2025-07-27 21:16:12 +02:00
fixed shared market test
This commit is contained in:
parent
bbe667b9d2
commit
d3d8db2713
1 changed files with 1 additions and 1 deletions
|
@ -24,7 +24,7 @@ class ReppV1StatsMarketShareTest < ActionDispatch::IntegrationTest
|
|||
end
|
||||
|
||||
def test_shows_market_share_growth_rate_data
|
||||
prev_date = Time.zone.today.last_month.strftime('%m.%y')
|
||||
prev_date = Date.new(2023, 11, 1).strftime('%m.%y')
|
||||
get '/repp/v1/stats/market_share_growth_rate', headers: @auth_headers,
|
||||
params: { q: { end_date: @today,
|
||||
compare_to_end_date: prev_date } }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue