You are here

public function QuizQuestionTestCase::testQuizQuestionImplementation in Quiz 7.6

Same name and namespace in other branches
  1. 7.5 question_types/quiz_question/QuizQuestionTestCase.test \QuizQuestionTestCase::testQuizQuestionImplementation()

Test the subclass's quiz question implementation.

File

question_types/quiz_question/QuizQuestionTestCase.test, line 38
Unit tests for the quiz question Module.

Class

QuizQuestionTestCase
Base test class for Quiz questions.

Code

public function testQuizQuestionImplementation() {
  $qq = quiz_question_get_info();
  $this
    ->assertTrue(isset($qq[$this->question_node_type]), t('Check that the question implementation is correct.'));
}