Changed the assert bool to string DT#3553

skala
Arthur Portugal 16 years ago
parent e560f585d8
commit 9fbfe7c1c6
  1. 2
      tests/main/survey/survey.lib.test.php

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

Loading…
Cancel
Save