Browse Source

Changed the assert bool to string DT#3553

Arthur Portugal 15 years ago
parent
commit
9fbfe7c1c6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tests/main/survey/survey.lib.test.php

+ 1 - 1
tests/main/survey/survey.lib.test.php

@@ -105,7 +105,7 @@ class TestSurvey extends UnitTestCase {
 		$instans->expectOnce($table_survey);
 		$res = $this->smanager->delete_survey($survey_id, $shared, $course_code);
 		$this->assertTrue($res);
-		$this->assertTrue(is_bool($res));
+		$this->assertTrue(is_string($res));
 		$this->assertTrue($table_survey);
 		//var_dump($table_survey_question_group);
 		//var_dump($res);