From 1d10c3cf9c3dc1edcbd83c4506477aa78cfd4b71 Mon Sep 17 00:00:00 2001
From: Coleman Watts <coleman@civicrm.org>
Date: Mon, 16 Sep 2019 11:00:08 -0400
Subject: [PATCH] Update namespace for phpunit6 compat

---
 tests/phpunit/api/v4/Entity/ConformanceTest.php | 2 +-
 tests/phpunit/api/v4/UnitTestCase.php           | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/phpunit/api/v4/Entity/ConformanceTest.php b/tests/phpunit/api/v4/Entity/ConformanceTest.php
index a038cbf82f..c4c03a2998 100644
--- a/tests/phpunit/api/v4/Entity/ConformanceTest.php
+++ b/tests/phpunit/api/v4/Entity/ConformanceTest.php
@@ -39,7 +39,7 @@ class ConformanceTest extends UnitTestCase {
     $this->creationParamProvider = \Civi::container()->get('test.param_provider');
     parent::setUp();
     // calculateTaxAmount() for contribution triggers a deprecation notice
-    \PHPUnit_Framework_Error_Deprecated::$enabled = FALSE;
+    \PHPUnit\Framework\Error\Deprecated::$enabled = FALSE;
   }
 
   public function getEntities() {
diff --git a/tests/phpunit/api/v4/UnitTestCase.php b/tests/phpunit/api/v4/UnitTestCase.php
index 185ad842c2..24a5ccc9e2 100644
--- a/tests/phpunit/api/v4/UnitTestCase.php
+++ b/tests/phpunit/api/v4/UnitTestCase.php
@@ -9,7 +9,7 @@ use Civi\Test\TransactionalInterface;
 /**
  * @group headless
  */
-class UnitTestCase extends \PHPUnit_Framework_TestCase implements HeadlessInterface, TransactionalInterface {
+class UnitTestCase extends \PHPUnit\Framework\TestCase implements HeadlessInterface, TransactionalInterface {
 
   use TestDataLoaderTrait;
 
-- 
2.25.1