[svn r21325] Minor - change the assertTrue for assertFalse in the function testApiGetAnonymousId()

skala
Ricardo Rodriguez 16 years ago
parent 60fb7fa2b5
commit bd7c8041ad
  1. 4
      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);

Loading…
Cancel
Save