You are here

public function QuizDirectionsTestCase::getQuestionType in Quiz 8.6

Same name and namespace in other branches
  1. 8.5 question_types/quiz_directions/tests/src/Functional/QuizDirectionsTestCase.php \Drupal\Tests\quiz_directions\Functional\QuizDirectionsTestCase::getQuestionType()
  2. 6.x question_types/quiz_directions/tests/src/Functional/QuizDirectionsTestCase.php \Drupal\Tests\quiz_directions\Functional\QuizDirectionsTestCase::getQuestionType()

Overrides QuizQuestionTestBase::getQuestionType

1 call to QuizDirectionsTestCase::getQuestionType()
QuizDirectionsTestCase::testCreateQuizQuestion in question_types/quiz_directions/tests/src/Functional/QuizDirectionsTestCase.php
Test adding and taking a quiz directions question.

File

question_types/quiz_directions/tests/src/Functional/QuizDirectionsTestCase.php, line 20
Unit tests for the quiz_directions Module.

Class

QuizDirectionsTestCase
Test class for quiz directions.

Namespace

Drupal\Tests\quiz_directions\Functional

Code

public function getQuestionType() {
  return 'directions';
}