Skip to content

Commit

Permalink
fix typo/change static property name
Browse files Browse the repository at this point in the history
  • Loading branch information
saeideng committed Sep 25, 2017
1 parent d7af0de commit 5dfb5a5
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions tests/TestCase/Controller/ControllerTest.php
Expand Up @@ -240,7 +240,7 @@ class ControllerTest extends TestCase
* error level property
*
*/
private static $error_level;
private static $errorLevel;

/**
* reset environment.
Expand All @@ -264,7 +264,7 @@ public function tearDown()
{
parent::tearDown();
Plugin::unload();
error_reporting(self::$error_level);
error_reporting(self::$errorLevel);
}

/**
Expand All @@ -275,7 +275,7 @@ public function tearDown()
public static function setUpBeforeClass()
{
parent::setUpBeforeClass();
self::$error_level = error_reporting();
self::$errorLevel = error_reporting();
}

/**
Expand All @@ -286,7 +286,7 @@ public static function setUpBeforeClass()
public static function tearDownAfterClass()
{
parent::tearDownAfterClass();
error_reporting(self::$error_level);
error_reporting(self::$errorLevel);
}

/**
Expand Down Expand Up @@ -1115,7 +1115,7 @@ public function testBeforeRenderViewVariables()
}

/**
* Tests deprecated view propertiyes work
* Tests deprecated view properties work
*
* @param $property Deprecated property name
* @param $getter Getter name
Expand All @@ -1134,7 +1134,7 @@ public function testDeprecatedViewProperty($property, $getter, $setter, $value)
}

/**
* Tests deprecated view propertiyes message
* Tests deprecated view properties message
*
* @param $property Deprecated property name
* @param $getter Getter name
Expand All @@ -1153,7 +1153,7 @@ public function testDeprecatedViewPropertySetterMessage($property, $getter, $set
}

/**
* Tests deprecated view propertiyes message
* Tests deprecated view properties message
*
* @param $property Deprecated property name
* @param $getter Getter name
Expand Down

0 comments on commit 5dfb5a5

Please sign in to comment.