Removed use of unexisting assertNotEmpty()

skala
Yannick Warnier 15 years ago
parent 7fb51ac2e5
commit ad60f65092
  1. 4
      tests/main/inc/lib/main_api.lib.test.php

@ -112,7 +112,7 @@ class TestMainApi extends UnitTestCase {
function testApiGetCoursePathReturnFalseWhenOutOfCoursePathContext(){
$res = api_get_course_path();
$this->assertNotEmpty($res);
$this->assertFalse(empty($res));
}
function testApiGetCourseSettingReturnFalseWhenOutOfCourseSeetingContext(){
@ -381,7 +381,7 @@ class TestMainApi extends UnitTestCase {
api_display_tool_view_option();
$res = ob_get_contents();
ob_end_clean();
$this->assertNotEmpty($res);
$this->assertFalse(empty($res));
}
function testApiDisplayArray(){

Loading…
Cancel
Save