public function MatchingUnitTest::unitTestCheckMatchingQuestionsList in Quiz 6.4
Same name and namespace in other branches
- 6.6 question_types/matching/matching.test \MatchingUnitTest::unitTestCheckMatchingQuestionsList()
- 7 question_types/matching/matching.test \MatchingUnitTest::unitTestCheckMatchingQuestionsList()
- 7.4 question_types/matching/matching.test \MatchingUnitTest::unitTestCheckMatchingQuestionsList()
Check that question exists in DB.
1 call to MatchingUnitTest::unitTestCheckMatchingQuestionsList()
- MatchingUnitTest::testMatchingNodeOperations in question_types/
matching/ matching.test - Run a bundle of Node API tests.
File
- question_types/
matching/ matching.test, line 145 - Unit tests for the matching Module.
Class
- MatchingUnitTest
- @file Unit tests for the matching Module.
Code
public function unitTestCheckMatchingQuestionsList() {
$questions = matching_questions_list();
$this
->assertEqual(count($questions), 1, t('Verify that the question exists.'));
}