• 
      

    Fix JavaScript unit tests for licensing.

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

    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.

    Commits

    Files