@@ -230,15 +230,15 @@ describe('POST /api/v1/freebuff/session', () => {
230230 test ( 'returns country_blocked without joining the queue for disallowed country' , async ( ) => {
231231 const sessionDeps = makeSessionDeps ( )
232232 const resp = await postFreebuffSession (
233- makeReq ( 'ok' , { cfCountry : 'ES ' } ) ,
233+ makeReq ( 'ok' , { cfCountry : 'PT ' } ) ,
234234 makeDeps ( sessionDeps , 'u1' ) ,
235235 )
236236 // 403 (not 200) so older CLIs that don't know `country_blocked` fall into
237237 // their error-retry backoff instead of tight-polling.
238238 expect ( resp . status ) . toBe ( 403 )
239239 const body = await resp . json ( )
240240 expect ( body . status ) . toBe ( 'country_blocked' )
241- expect ( body . countryCode ) . toBe ( 'ES ' )
241+ expect ( body . countryCode ) . toBe ( 'PT ' )
242242 expect ( body . countryBlockReason ) . toBe ( 'country_not_allowed' )
243243 expect ( sessionDeps . rows . size ) . toBe ( 0 )
244244 } )
@@ -326,13 +326,13 @@ describe('GET /api/v1/freebuff/session', () => {
326326 test ( 'returns country_blocked for disallowed country on GET' , async ( ) => {
327327 const sessionDeps = makeSessionDeps ( )
328328 const resp = await getFreebuffSession (
329- makeReq ( 'ok' , { cfCountry : 'ES ' } ) ,
329+ makeReq ( 'ok' , { cfCountry : 'PT ' } ) ,
330330 makeDeps ( sessionDeps , 'u1' ) ,
331331 )
332332 expect ( resp . status ) . toBe ( 403 )
333333 const body = await resp . json ( )
334334 expect ( body . status ) . toBe ( 'country_blocked' )
335- expect ( body . countryCode ) . toBe ( 'ES ' )
335+ expect ( body . countryCode ) . toBe ( 'PT ' )
336336 expect ( body . countryBlockReason ) . toBe ( 'country_not_allowed' )
337337 } )
338338
@@ -358,7 +358,7 @@ describe('GET /api/v1/freebuff/session', () => {
358358 } )
359359 let countryChecks = 0
360360 const resp = await getFreebuffSession (
361- makeReq ( 'ok' , { cfCountry : 'ES ' } ) ,
361+ makeReq ( 'ok' , { cfCountry : 'PT ' } ) ,
362362 makeDeps ( sessionDeps , 'u1' , {
363363 getCountryAccess : async ( req ) => {
364364 countryChecks ++
0 commit comments