diff --git a/tests/lib/template.php b/tests/lib/template.php
index 3f0855de76cf12d86e3ca94cd06178d90ed17e2f..dadfdba5e0c31a0865460d33fe8253e1290eb9b7 100644
--- a/tests/lib/template.php
+++ b/tests/lib/template.php
@@ -60,7 +60,7 @@ class Test_TemplateFunctions extends UnitTestCase {
 	public function testPrintUnescapedNormalString(){
 		$normalString = "This is a good string!";
 		ob_start();
-		p($normalString);
+		print_unescaped($normalString);
 		$result = ob_get_clean();
 		ob_end_clean();
 
@@ -68,4 +68,4 @@ class Test_TemplateFunctions extends UnitTestCase {
 	}
 
 
-}
\ No newline at end of file
+}