Page Menu
Home
Code
Search
Configure Global Search
Log In
Files
F211541
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
1 KB
Subscribers
None
View Options
diff --git a/dev/tests/Engines/Templates/Smarty/Plugins/RomanizeModifierTest.php b/dev/tests/Engines/Templates/Smarty/Plugins/RomanizeModifierTest.php
index 724b9c7..4523d83 100644
--- a/dev/tests/Engines/Templates/Smarty/Plugins/RomanizeModifierTest.php
+++ b/dev/tests/Engines/Templates/Smarty/Plugins/RomanizeModifierTest.php
@@ -1,28 +1,28 @@
<?php
declare(strict_types=1);
namespace Zed\Tests\Engines\Templates\Smarty\Plugins;
-class RomanNumeralsTest extends SmartyPluginTestCase {
+class RomanizeModifierTest extends SmartyPluginTestCase {
public function setUp () {
$this->requirePlugin('modifier', 'romanize');
}
public function testPluginWithCorrectValueAsInteger () {
$this->assertEquals('iv', smarty_modifier_romanize(4));
}
public function testPluginWithCorrectValueAsString () {
$this->assertEquals('iv', smarty_modifier_romanize('4'));
}
public function testPluginWithNonNumeric () {
$this->assertEquals('quux', smarty_modifier_romanize('quux'));
}
public function testPluginWithNegativeNumber () {
$this->assertSame('-4', smarty_modifier_romanize(-4));
}
}
File Metadata
Details
Attached
Mime Type
text/x-diff
Expires
Sun, Nov 24, 09:07 (9 h, 18 m ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
20753
Default Alt Text
(1 KB)
Attached To
rZED Zed
Event Timeline
Log In to Comment