Skip to content
Browse files

MDL-51007 Availability: Unit test fails with extra plugins

  • Loading branch information...
sammarshallou committed Aug 5, 2015
1 parent 9f405b6 commit 349ed8c86cec97b5429ede679f8fb2421fc724d2
Showing with 6 additions and 2 deletions.
  1. +6 −2 availability/tests/component_test.php
@@ -49,7 +49,11 @@ public function test_plugin_info() {
// fail, but it's obvious when running test at least.
$pluginmanager = core_plugin_manager::instance();
$list = $pluginmanager->get_enabled_plugins('availability');
$this->assertEquals(array('completion', 'date', 'grade', 'group', 'grouping', 'profile'),
$this->assertArrayHasKey('completion', $list);
$this->assertArrayHasKey('date', $list);
$this->assertArrayHasKey('grade', $list);
$this->assertArrayHasKey('group', $list);
$this->assertArrayHasKey('grouping', $list);
$this->assertArrayHasKey('profile', $list);

0 comments on commit 349ed8c

Please sign in to comment.
You can’t perform that action at this time.