Permalink
Browse files

moving TimeHelperTest to CakeTimeTest

  • Loading branch information...
rchavik committed Feb 6, 2012
1 parent 4574dbc commit 8074959637d0f14e3599ce678b452c8697cd6f05
@@ -1,6 +1,6 @@
<?php
/**
- * TimeHelperTest file
+ * CakeTimeTest file
*
* PHP 5
*
@@ -16,25 +16,22 @@
* @since CakePHP(tm) v 1.2.0.4206
* @license MIT License (http://www.opensource.org/licenses/mit-license.php)
*/
-App::uses('TimeHelper', 'View/Helper');
-App::uses('View', 'View');
+App::uses('CakeTime', 'Utility');
/**
- * TimeHelperTest class
+ * CakeTimeTest class
*
* @package Cake.Test.Case.View.Helper
*/
-class TimeHelperTest extends CakeTestCase {
+class CakeTimeTest extends CakeTestCase {
/**
* setUp method
*
* @return void
*/
public function setUp() {
- $controller = null;
- $View = new View($controller);
- $this->Time = new TimeHelper($View);
+ $this->Time = new CakeTime();
}
/**

0 comments on commit 8074959

Please sign in to comment.