summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2013-01-22 23:27:04 +0100
committerRobin Appelman <icewind@owncloud.com>2013-01-22 23:27:04 +0100
commitf85838177596b3214430e750b5425bfe3c0cde86 (patch)
tree996508bfcf929bcd9be646b309724cd3b0622810 /tests
parent9a1f65aab176604c90114891b4bc0346fbb7d561 (diff)
parentec8609fa2186f03f5dde215bc7ed06f47cbe47ba (diff)
downloadnextcloud-server-f85838177596b3214430e750b5425bfe3c0cde86.tar.gz
nextcloud-server-f85838177596b3214430e750b5425bfe3c0cde86.zip
merge master into filesystem
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/template.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/tests/lib/template.php b/tests/lib/template.php
index 736bc95255c..2899c3512b2 100644
--- a/tests/lib/template.php
+++ b/tests/lib/template.php
@@ -30,7 +30,6 @@ class Test_TemplateFunctions extends UnitTestCase {
ob_start();
p($htmlString);
$result = ob_get_clean();
- ob_end_clean();
$this->assertEqual("&lt;script&gt;alert(&#039;xss&#039;);&lt;/script&gt;", $result);
}
@@ -40,7 +39,6 @@ class Test_TemplateFunctions extends UnitTestCase {
ob_start();
p($normalString);
$result = ob_get_clean();
- ob_end_clean();
$this->assertEqual("This is a good string!", $result);
}
@@ -52,7 +50,6 @@ class Test_TemplateFunctions extends UnitTestCase {
ob_start();
print_unescaped($htmlString);
$result = ob_get_clean();
- ob_end_clean();
$this->assertEqual($htmlString, $result);
}
@@ -62,7 +59,6 @@ class Test_TemplateFunctions extends UnitTestCase {
ob_start();
print_unescaped($normalString);
$result = ob_get_clean();
- ob_end_clean();
$this->assertEqual("This is a good string!", $result);
}