Merge branch 'MDL-37539-master' of github.com:damyon/moodle
authorEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 22 Jan 2013 01:10:47 +0000 (02:10 +0100)
committerEloy Lafuente (stronk7) <stronk7@moodle.org>
Tue, 22 Jan 2013 01:11:27 +0000 (02:11 +0100)
mod/assign/tests/upgradelib_test.php

index 8454229..51fb6eb 100644 (file)
@@ -136,7 +136,7 @@ class mod_assign_upgradelib_testcase extends advanced_testcase {
         $plugin = $assign->get_submission_plugin_by_type('onlinetext');
         $this->assertEmpty($plugin->is_enabled());
         $plugin = $assign->get_submission_plugin_by_type('comments');
-        $this->assertNotEmpty($plugin->is_enabled());
+        $this->assertEmpty($plugin->is_enabled());
         $plugin = $assign->get_submission_plugin_by_type('file');
         $this->assertNotEmpty($plugin->is_enabled());
         $plugin = $assign->get_feedback_plugin_by_type('comments');