Mercurial > hg > isophonics-drupal-site
diff core/tests/Drupal/Tests/PhpunitCompatibilityTraitTest.php @ 17:129ea1e6d783
Update, including to Drupal core 8.6.10
author | Chris Cannam |
---|---|
date | Thu, 28 Feb 2019 13:21:36 +0000 |
parents | 7a779792577d |
children |
line wrap: on
line diff
--- a/core/tests/Drupal/Tests/PhpunitCompatibilityTraitTest.php Tue Jul 10 15:07:59 2018 +0100 +++ b/core/tests/Drupal/Tests/PhpunitCompatibilityTraitTest.php Thu Feb 28 13:21:36 2019 +0000 @@ -52,6 +52,7 @@ * Test class for \PHPUnit\Framework\TestCase in PHPUnit 4. */ class Phpunit4TestClass { + public function getMock($originalClassName) { return 'PHPUnit 4'; } @@ -62,6 +63,7 @@ * Test class for \PHPUnit\Framework\TestCase in PHPUnit 6. */ class Phpunit6TestClass { + public function createMock($originalClassName) { return 'PHPUnit 6'; } @@ -76,6 +78,7 @@ * Test double for PHPUnit_Framework_MockObject_MockBuilder. */ class Mockbuilder { + public function __call($name, $arguments) { return $this; }