Browse Source

Update TextHelperTest.php

Mark S. 10 years ago
parent
commit
b7d8801050
1 changed files with 1 additions and 15 deletions
  1. 1 15
      tests/TestCase/View/Helper/TextHelperTest.php

+ 1 - 15
tests/TestCase/View/Helper/TextHelperTest.php

@@ -7,7 +7,7 @@ use Cake\View\View;
 use Cake\Core\Configure;
 use Tools\Utility\Text;
 
-class TextExtHelperTest extends TestCase {
+class TextHelperTest extends TestCase {
 
 	public $Text;
 
@@ -272,18 +272,4 @@ class TextExtHelperTest extends TestCase {
 		$this->assertEquals('www.te…ge.de', $this->Text->minimizeUrl($url, 14));
 	}
 
-	/**
-	 * Test testOrdinalNumber
-	 *
-	 * @return void
-	 */
-	public function testOrdinalNumber() {
-		$result = $this->Text->ordinalNumber(1);
-		$this->assertSame('1st', $result);
-
-		$result = $this->Text->ordinalNumber(1, true);
-		//debug($result);
-		$this->assertSame('1<sup>st</sup>', $result);
-	}
-
 }