public function ShortAnswerUnitTest::unitTestShortAnswerQuestionsList in Quiz 7
Same name and namespace in other branches
- 6.6 question_types/short_answer/short_answer.test \ShortAnswerUnitTest::unitTestShortAnswerQuestionsList()
- 6.4 question_types/short_answer/short_answer.test \ShortAnswerUnitTest::unitTestShortAnswerQuestionsList()
- 7.4 question_types/short_answer/short_answer.test \ShortAnswerUnitTest::unitTestShortAnswerQuestionsList()
Check that question exists in DB.
1 call to ShortAnswerUnitTest::unitTestShortAnswerQuestionsList()
- ShortAnswerUnitTest::testShortAnswerNodeOperations in question_types/
short_answer/ short_answer.test - Run a bundle of Node API tests.
File
- question_types/
short_answer/ short_answer.test, line 169
Class
Code
public function unitTestShortAnswerQuestionsList() {
$questions = short_answer_questions_list();
$this
->assertEqual(count($questions), 1, t('Verify that the question exists.'));
}