diff --git a/tests/PHPUnit/Core/PluginsFunctions/WidgetsListTest.php b/tests/PHPUnit/Core/PluginsFunctions/WidgetsListTest.php index e592569707d..e50ec1e4541 100644 --- a/tests/PHPUnit/Core/PluginsFunctions/WidgetsListTest.php +++ b/tests/PHPUnit/Core/PluginsFunctions/WidgetsListTest.php @@ -38,19 +38,19 @@ public function testGet() // check if each category has the right number of widgets $numberOfWidgets = array( 'VisitsSummary_VisitsSummary' => 6, - 'Live!' => 2, + 'Live!' => 3, 'General_Visitors' => 12, 'UserSettings_VisitorSettings' => 11, 'Actions_Actions' => 8, 'Actions_SubmenuSitesearch' => 5, 'Referers_Referers' => 7, 'Goals_Goals' => 1, - 'SEO' => 3, + 'SEO' => 2, 'Example Widgets' => 4, 'ExamplePlugin_exampleWidgets' => 3 ); foreach ($numberOfWidgets AS $category => $widgetCount) { - $this->assertEquals($widgetCount, count($widgets[$category])); + $this->assertEquals($widgetCount, count($widgets[$category]), sprintf("Widget: %s", $category)); } }