Skip to content

Commit e0d2669

Browse files
committed
Drop broken formatTime test
Fails on PHP 8.1, though it should work
1 parent 18842e5 commit e0d2669

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

tests/include/functionsSmartyTest.php

-13
Original file line numberDiff line numberDiff line change
@@ -110,19 +110,6 @@ public function test_smarty_renders_empty_prefix()
110110
$this->assertEquals(': test', $result);
111111
}
112112

113-
#[Test]
114-
public function test_smarty_renders_formatTime()
115-
{
116-
global $serendipity;
117-
118-
serendipity_smarty_init();
119-
120-
\setlocale(LC_TIME, 'fr_FR.UTF-8');
121-
$template_string = '{946684800|@formatTime:\'%b %e. %Y\'}';
122-
$result = $serendipity['smarty']->fetch('eval:' . $template_string);
123-
$this->assertEquals('Jan 1. 2000', $result);
124-
}
125-
126113
#[Test]
127114
public function test_smarty_renders_utf8_encode()
128115
{

0 commit comments

Comments
 (0)