From 70aaa5be9e09708b3dc71153d12135e4cd3781a8 Mon Sep 17 00:00:00 2001 From: Yannick Warnier Date: Mon, 19 Jul 2010 16:02:41 -0500 Subject: [PATCH] fixed test failure --- tests/main/inc/lib/document.lib.test.php | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/tests/main/inc/lib/document.lib.test.php b/tests/main/inc/lib/document.lib.test.php index 2e65beb54e..4e894c8265 100755 --- a/tests/main/inc/lib/document.lib.test.php +++ b/tests/main/inc/lib/document.lib.test.php @@ -233,12 +233,9 @@ class TestDocumentManager extends UnitTestCase { $filename = $name; $len = strlen($full_string); if (!headers_sent()) { - $res=DocumentManager::string_send_for_download($full_string, - $forced, - $name - ); + $res=DocumentManager::string_send_for_download($full_string, $forced, $name); } - $this->assertTrue(is_null($res)); + $this->assertTrue($res); } /**