@@ -225,7 +225,7 @@ def test_should_generate_url_with_subtitle_overlay_from_input_file
225225 )
226226 )
227227
228- expected = "https://ik.imagekit.io/test_url_endpoint/tr:l-subtitle ,i-subtitle.srt,l-end/base-video.mp4"
228+ expected = "https://ik.imagekit.io/test_url_endpoint/tr:l-subtitles ,i-subtitle.srt,l-end/base-video.mp4"
229229 assert_equal ( expected , url )
230230 end
231231
@@ -399,7 +399,7 @@ def test_should_generate_url_with_multiple_complex_overlays_including_nested_tra
399399 )
400400 )
401401
402- expected = "https://ik.imagekit.io/test_url_endpoint/tr:l-text,i-Every%20thing,lx-10,ly-20,lfo-center,lso-5,leo-15,ldu-10,w-bw_mul_0.5,fs-20,ff-Arial,co-0000ff,ia-left,pa-5,al-7,tg-b,bg-red,r-10,rt-N45,fl-h,lh-20,l-end:l-image,i-logo.png,lx-10,ly-20,lfo-center,lso-5,leo-15,ldu-10,w-bw_mul_0.5,h-bh_mul_0.5,rt-N45,fl-h,l-text,i-Nested%20text%20overlay,l-end,l-end:l-video,i-play-pause-loop.mp4,lx-10,ly-20,lfo-center,lso-5,leo-15,ldu-10,w-bw_mul_0.5,h-bh_mul_0.5,rt-N45,fl-h,l-end:l-subtitle ,i-subtitle.srt,lx-10,ly-20,lfo-center,lso-5,leo-15,ldu-10,bg-red,co-0000ff,ff-Arial,fol-2_A1CCDD50,fsh-A1CCDD_3,l-end:l-image,i-ik_canvas,bg-FF0000,lx-10,ly-20,lfo-center,lso-5,leo-15,ldu-10,w-bw_mul_0.5,h-bh_mul_0.5,al-0.5,bg-red,e-gradient,r-max,l-end/base-image.jpg"
402+ expected = "https://ik.imagekit.io/test_url_endpoint/tr:l-text,i-Every%20thing,lx-10,ly-20,lfo-center,lso-5,leo-15,ldu-10,w-bw_mul_0.5,fs-20,ff-Arial,co-0000ff,ia-left,pa-5,al-7,tg-b,bg-red,r-10,rt-N45,fl-h,lh-20,l-end:l-image,i-logo.png,lx-10,ly-20,lfo-center,lso-5,leo-15,ldu-10,w-bw_mul_0.5,h-bh_mul_0.5,rt-N45,fl-h,l-text,i-Nested%20text%20overlay,l-end,l-end:l-video,i-play-pause-loop.mp4,lx-10,ly-20,lfo-center,lso-5,leo-15,ldu-10,w-bw_mul_0.5,h-bh_mul_0.5,rt-N45,fl-h,l-end:l-subtitles ,i-subtitle.srt,lx-10,ly-20,lfo-center,lso-5,leo-15,ldu-10,bg-red,co-0000ff,ff-Arial,fol-2_A1CCDD50,fsh-A1CCDD_3,l-end:l-image,i-ik_canvas,bg-FF0000,lx-10,ly-20,lfo-center,lso-5,leo-15,ldu-10,w-bw_mul_0.5,h-bh_mul_0.5,al-0.5,bg-red,e-gradient,r-max,l-end/base-image.jpg"
403403 assert_equal ( expected , url )
404404 end
405405
@@ -675,7 +675,7 @@ def test_should_use_plain_encoding_when_explicitly_specified_for_subtitle_overla
675675 )
676676 )
677677
678- expected = "https://ik.imagekit.io/demo/tr:l-subtitle ,i-sub.srt,l-end/sample.mp4"
678+ expected = "https://ik.imagekit.io/demo/tr:l-subtitles ,i-sub.srt,l-end/sample.mp4"
679679 assert_equal ( expected , url )
680680 end
681681
@@ -698,7 +698,7 @@ def test_should_use_base64_encoding_when_explicitly_specified_for_subtitle_overl
698698 )
699699 )
700700
701- expected = "https://ik.imagekit.io/demo/tr:l-subtitle ,ie-c3ViLnNydA%3D%3D,l-end/sample.mp4"
701+ expected = "https://ik.imagekit.io/demo/tr:l-subtitles ,ie-c3ViLnNydA%3D%3D,l-end/sample.mp4"
702702 assert_equal ( expected , url )
703703 end
704704
0 commit comments