• 
      

    Fix JavaScript unit tests for licensing.

    Review Request #14693 — Created Nov. 14, 2025 and submitted

    Information

    Review Board
    release-7.1.x

    Reviewers

    Some of the recent batch of licensing updates broke the JavaScript unit
    tests. I had simply failed to update them, or at some point lost changes
    to them. In either case, this change updates the unit tests to work
    correctly.

    There are two key updates made:

    1. fetch spies now properly return a Response, rather than a raw
      object.

    2. callAction() arguments are now expected to be non-serialized JSON
      data, and contain the missing session_token.

    All JS unit tests pass.

    Summary ID
    Fix JavaScript unit tests for licensing.
    Some of the recent batch of licensing updates broke the JavaScript unit tests. I had simply failed to update them, or at some point lost changes to them. In either case, this change updates the unit tests to work correctly. There are two key updates made: 1. `fetch` spies now properly return a `Response`, rather than a raw object. 2. `callAction()` arguments are now expected to be non-serialized JSON data, and contain the missing `session_token`.
    8df72fa6cf8a84d99c8c37d2020b98366943afbd
    david
    1. Ship It!
    2. 
        
    maubin
    1. Ship It!
    2. 
        
    chipx86
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-7.1.x (d647fa4)