File tree 2 files changed +4
-4
lines changed
2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -274,7 +274,7 @@ def temporary_ab_test_find_utr_page
274
274
placeholder = "{{ab_test_find_utr_number_video_links}}"
275
275
if @content_item . base_path == "/find-utr-number" && @content_item . body . include? ( placeholder )
276
276
ab_test = GovukAbTesting ::AbTest . new (
277
- "find_utr_number_video_links " ,
277
+ "FindUtrNumberVideoLinks " ,
278
278
dimension : 61 , # https://docs.google.com/spreadsheets/d/1h4vGXzIbhOWwUzourPLIc8WM-iU1b6WYOVDOZxmU1Uo/edit#gid=254065189&range=69:69
279
279
allowed_variants : %w[ A B Z ] ,
280
280
control_variant : "Z" ,
Original file line number Diff line number Diff line change @@ -371,7 +371,7 @@ class ContentItemsControllerTest < ActionController::TestCase
371
371
372
372
stub_content_store_has_item ( content_item [ "base_path" ] , content_item )
373
373
374
- request . headers [ "HTTP_GOVUK_ABTEST_FIND_UTR_NUMBER_VIDEO_LINKS " ] = nil
374
+ request . headers [ "HTTP_GOVUK_ABTEST_FINDUTRNUMBERVIDEOLINKS " ] = nil
375
375
376
376
get :show , params : { path : path_for ( content_item ) }
377
377
assert_response :success
@@ -386,7 +386,7 @@ class ContentItemsControllerTest < ActionController::TestCase
386
386
387
387
stub_content_store_has_item ( content_item [ "base_path" ] , content_item )
388
388
389
- request . headers [ "HTTP_GOVUK_ABTEST_FIND_UTR_NUMBER_VIDEO_LINKS " ] = "A"
389
+ request . headers [ "HTTP_GOVUK_ABTEST_FINDUTRNUMBERVIDEOLINKS " ] = "A"
390
390
391
391
get :show , params : { path : path_for ( content_item ) }
392
392
assert_response :success
@@ -401,7 +401,7 @@ class ContentItemsControllerTest < ActionController::TestCase
401
401
402
402
stub_content_store_has_item ( content_item [ "base_path" ] , content_item )
403
403
404
- request . headers [ "HTTP_GOVUK_ABTEST_FIND_UTR_NUMBER_VIDEO_LINKS " ] = "B"
404
+ request . headers [ "HTTP_GOVUK_ABTEST_FINDUTRNUMBERVIDEOLINKS " ] = "B"
405
405
406
406
get :show , params : { path : path_for ( content_item ) }
407
407
assert_response :success
You can’t perform that action at this time.
0 commit comments