From bd7c8041ad0c3dcf62dc00a08686fc933281f633 Mon Sep 17 00:00:00 2001 From: Ricardo Rodriguez Date: Wed, 10 Jun 2009 01:04:00 +0200 Subject: [PATCH] [svn r21325] Minor - change the assertTrue for assertFalse in the function testApiGetAnonymousId() --- tests/main/inc/lib/main_api.lib.test.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/main/inc/lib/main_api.lib.test.php b/tests/main/inc/lib/main_api.lib.test.php index b5db028dd8..8005551993 100755 --- a/tests/main/inc/lib/main_api.lib.test.php +++ b/tests/main/inc/lib/main_api.lib.test.php @@ -198,7 +198,7 @@ class TestMainApi extends UnitTestCase { function testApiGetAnonymousId(){ $res = api_get_anonymous_id(); - $this->assertTrue($res); + $this->assertFalse($res); } @@ -357,7 +357,7 @@ class TestMainApi extends UnitTestCase { $this->assertTrue($res); } - + function testGetLang(){ global $language_interface, $language_interface_initial_value, $language_file,$variable; $res = get_lang($variable, $notrans = 'DLTT', $language = null);