mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
renaming NumberHelperTest to CakeNumberTest
This commit is contained in:
parent
fd17e33e78
commit
cd7a8452a2
1 changed files with 6 additions and 14 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
/**
|
||||
* NumberHelperTest file
|
||||
* CakeNumberTest file
|
||||
*
|
||||
* PHP 5
|
||||
*
|
||||
|
@ -18,21 +18,14 @@
|
|||
*/
|
||||
|
||||
App::uses('View', 'View');
|
||||
App::uses('NumberHelper', 'View/Helper');
|
||||
App::uses('CakeNumber', 'Utility');
|
||||
|
||||
/**
|
||||
* NumberHelperTest class
|
||||
* CakeNumberTest class
|
||||
*
|
||||
* @package Cake.Test.Case.View.Helper
|
||||
* @package Cake.Test.Case.Utility
|
||||
*/
|
||||
class NumberHelperTest extends CakeTestCase {
|
||||
|
||||
/**
|
||||
* helper property
|
||||
*
|
||||
* @var mixed null
|
||||
*/
|
||||
public $helper = null;
|
||||
class CakeNumberTest extends CakeTestCase {
|
||||
|
||||
/**
|
||||
* setUp method
|
||||
|
@ -41,8 +34,7 @@ class NumberHelperTest extends CakeTestCase {
|
|||
*/
|
||||
public function setUp() {
|
||||
parent::setUp();
|
||||
$view = $this->getMock('View', array(), array(), '', false);
|
||||
$this->Number = new NumberHelper($view);
|
||||
$this->Number = new CakeNumber();
|
||||
}
|
||||
|
||||
/**
|
Loading…
Reference in a new issue