fix: 8945 (#8945) by tashee · Pull Request #9393 · RaspberryPiFoundation/blockly

Replaced deprecated wrapper methods in last file.

The basics

The details

Resolves

Fixes issue #8945

Proposed Changes

Update event_test to stop using deprecated methods.

Reason for Changes

PR #8401 deprecated certain …ById methods on VariableMap, and PR #8415 subsequently deprecated related wrapper methods on Workspace, with PR #8946 completing the refactor by removing the overriding versions of those methods on WorkspaceSvg as well as replacing a number of the remaining calls to those methods from code in core/.

Test should be updated to use non-deprecated methods

Test Coverage

Tests were updated to reflect method deprecation.

Documentation

Additional Information