Permalink
Browse files

Removed leading underscores from ReflectionProperty variables in test…

… case
  • Loading branch information...
1 parent f0036b3 commit 8645e05ab152f5d4e83c3435cdbe7519512eefa2 @young-steveo young-steveo committed Dec 7, 2013
Showing with 6 additions and 6 deletions.
  1. +6 −6 lib/Cake/Test/Case/TestSuite/Fixture/CakeFixtureManagerTest.php
@@ -62,9 +62,9 @@ public function testLoadTruncatesTable() {
$fixtureManager = $this->fixtureManager;
$fixtureManagerReflection = new ReflectionClass($fixtureManager);
- $_loadedProperty = $fixtureManagerReflection->getProperty('_loaded');
- $_loadedProperty->setAccessible(true);
- $_loadedProperty->setValue($fixtureManager, array('core.uuid' => $MockFixture));
+ $loadedProperty = $fixtureManagerReflection->getProperty('_loaded');
+ $loadedProperty->setAccessible(true);
+ $loadedProperty->setValue($fixtureManager, array('core.uuid' => $MockFixture));
$TestCase = $this->getMock('CakeTestCase');
$TestCase->fixtures = array('core.uuid');
@@ -89,9 +89,9 @@ public function testLoadSingleTruncatesTable() {
$fixtureManager = $this->fixtureManager;
$fixtureManagerReflection = new ReflectionClass($fixtureManager);
- $_fixtureMapProperty = $fixtureManagerReflection->getProperty('_fixtureMap');
- $_fixtureMapProperty->setAccessible(true);
- $_fixtureMapProperty->setValue($fixtureManager, array('UuidFixture' => $MockFixture));
+ $fixtureMapProperty = $fixtureManagerReflection->getProperty('_fixtureMap');
+ $fixtureMapProperty->setAccessible(true);
+ $fixtureMapProperty->setValue($fixtureManager, array('UuidFixture' => $MockFixture));
$dboMethods = array_diff(get_class_methods('DboSource'), array('enabled'));
$dboMethods[] = 'connect';

0 comments on commit 8645e05

Please sign in to comment.