diff --git a/tests/PHPUnit/Integration/Core/WidgetsListTest.php b/tests/PHPUnit/Integration/Core/WidgetsListTest.php index 451c84274d9f97cc3fc1cece7d0cfc1f564d67e8..d861b385b139244eb35ec23632b4aebc7c4cad54 100644 --- a/tests/PHPUnit/Integration/Core/WidgetsListTest.php +++ b/tests/PHPUnit/Integration/Core/WidgetsListTest.php @@ -50,7 +50,8 @@ class Core_WidgetsListTest extends DatabaseTestCase 'Goals_Goals' => 1, 'SEO' => 2, 'Example Widgets' => 4, - 'DevicesDetection_DevicesDetection' => 7 + 'DevicesDetection_DevicesDetection' => 7, + 'Insights_Category' => 1 ); // number of main categories @@ -84,7 +85,7 @@ class Core_WidgetsListTest extends DatabaseTestCase WidgetsList::_reset(); // number of main categories - $this->assertEquals(11, count($widgets)); + $this->assertEquals(12, count($widgets)); // check that the goal widget was added $numberOfWidgets = array( @@ -119,7 +120,7 @@ class Core_WidgetsListTest extends DatabaseTestCase WidgetsList::_reset(); // number of main categories - $this->assertEquals(12, count($widgets)); + $this->assertEquals(13, count($widgets)); // check if each category has the right number of widgets $numberOfWidgets = array( @@ -152,11 +153,11 @@ class Core_WidgetsListTest extends DatabaseTestCase WidgetsList::_reset(); $widgets = WidgetsList::get(); - $this->assertCount(12, $widgets); + $this->assertCount(13, $widgets); WidgetsList::remove('SEO', 'NoTeXiStInG'); $widgets = WidgetsList::get(); - $this->assertCount(12, $widgets); + $this->assertCount(13, $widgets); $this->assertArrayHasKey('SEO', $widgets); $this->assertCount(2, $widgets['SEO']);