Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authoricewind1991 <icewind1991@gmail.com>2013-01-22 23:12:40 +0400
committericewind1991 <icewind1991@gmail.com>2013-01-22 23:12:40 +0400
commit12e286b21c6250bb3e4cb5b62e72f49c6714432a (patch)
tree07f25b73ea4d243e81a31a130be866a6e1e896ea /tests
parentc18aec56e2f76aec317785a6f69f7e41e0475f1a (diff)
parent68272fa25324b9884f1c830d15b34d67a450c17e (diff)
Merge pull request #1237 from owncloud/fix-template-tests
Remove unnecessary ob_end_clean() from template tests
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);
}