From d3d8db2713d5a92ef5b8c91eac2d0d70c5532b39 Mon Sep 17 00:00:00 2001 From: Oleg Hasjanov Date: Wed, 24 Jan 2024 15:05:06 +0200 Subject: [PATCH] fixed shared market test --- test/integration/repp/v1/stats/market_share_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/repp/v1/stats/market_share_test.rb b/test/integration/repp/v1/stats/market_share_test.rb index 2f129d8439..fa7ea75899 100644 --- a/test/integration/repp/v1/stats/market_share_test.rb +++ b/test/integration/repp/v1/stats/market_share_test.rb @@ -24,7 +24,7 @@ def test_shows_market_share_distribution_data 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 } }