Problem/Motivation

PHPUnit project has deprecated the function MockBuilder::addMethods() but we really need it for our tests.

Related file: src/UnitTestCaseWrapper.php

So, would be great to find a workaround or reimplement this function locally on the test_helpers module side.

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

murz created an issue. See original summary.

  • murz committed a504d91d on 1.5.x
    Issue #3476467: Reimplement function MockBuilder::addMethods() locally
    
murz’s picture

Status: Active » Fixed

Implemented.

murz’s picture

Status: Fixed » Closed (fixed)