From ff60b6c70b07ed160d7f1d888539db32353be927 Mon Sep 17 00:00:00 2001 From: diosmosis <benaka@piwik.pro> Date: Tue, 26 May 2015 14:51:12 -0700 Subject: [PATCH] Make sure test case class is saved in TestingEnvironment file so proxy entry points will apply overridden DI config. --- tests/PHPUnit/Framework/Fixture.php | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/PHPUnit/Framework/Fixture.php b/tests/PHPUnit/Framework/Fixture.php index 3136c14198..f21ea51176 100644 --- a/tests/PHPUnit/Framework/Fixture.php +++ b/tests/PHPUnit/Framework/Fixture.php @@ -255,6 +255,7 @@ class Fixture extends \PHPUnit_Framework_Assert return; } + $this->getTestEnvironment()->testCaseClass = $this->testCaseClass; $this->getTestEnvironment()->save(); $this->getTestEnvironment()->executeSetupTestEnvHook(); -- GitLab