MDL-62781 core_question: Remove unnecessary assertion
authorJun Pataleta <jun@moodle.com>
Wed, 18 Jul 2018 01:57:46 +0000 (09:57 +0800)
committerJun Pataleta <jun@moodle.com>
Wed, 18 Jul 2018 01:57:49 +0000 (09:57 +0800)
question/tests/privacy_provider_test.php

index 7b6ffca..3f4de0e 100644 (file)
@@ -265,7 +265,6 @@ class core_question_privacy_provider_testcase extends \core_privacy\tests\provid
         $questioncount = $DB->count_records('question');
 
         // The delete functions should do nothing here.
         $questioncount = $DB->count_records('question');
 
         // The delete functions should do nothing here.
-        $this->assertEquals($questioncount, $DB->count_records('question'));
 
         // Delete for all users in context.
         provider::delete_data_for_all_users_in_context($expectedcontext);
 
         // Delete for all users in context.
         provider::delete_data_for_all_users_in_context($expectedcontext);