diff --git a/tests/PHPUnit/Core/PluginsFunctions/WidgetsListTest.php b/tests/PHPUnit/Core/PluginsFunctions/WidgetsListTest.php index e592569707d3ba1f9829deabcea0f25cdcf7a4c6..e50ec1e4541392370c82cbcb541b886c5e29ab08 100644 --- a/tests/PHPUnit/Core/PluginsFunctions/WidgetsListTest.php +++ b/tests/PHPUnit/Core/PluginsFunctions/WidgetsListTest.php @@ -38,19 +38,19 @@ class WidgetsListTest extends DatabaseTestCase // 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)); } }