diff options
author | Thomas Steur <thomas.steur@gmail.com> | 2016-09-30 09:21:46 +0300 |
---|---|---|
committer | Thomas Steur <thomas.steur@gmail.com> | 2016-09-30 09:21:46 +0300 |
commit | 7f3afcd4cf867413ccedad0250532c40b04b67c0 (patch) | |
tree | 47adb99663b60210534bc1927d9a6a73da3c127c /plugins/API/tests | |
parent | b6b97cd01bd433558b8f45292a748b96a396791d (diff) |
fix some tests
Diffstat (limited to 'plugins/API/tests')
-rw-r--r-- | plugins/API/tests/Unit/WidgetMetadataTest.php | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/plugins/API/tests/Unit/WidgetMetadataTest.php b/plugins/API/tests/Unit/WidgetMetadataTest.php index 340a0fb6ea..71d9111ca9 100644 --- a/plugins/API/tests/Unit/WidgetMetadataTest.php +++ b/plugins/API/tests/Unit/WidgetMetadataTest.php @@ -63,7 +63,8 @@ class WidgetMetadataTest extends \PHPUnit_Framework_TestCase 'module' => 'CoreHome', 'action' => 'render' ), - 'uniqueId' => 'widgetCoreHomerender' + 'uniqueId' => 'widgetCoreHomerender', + 'isWide' => false ), $metadata); } @@ -154,7 +155,8 @@ class WidgetMetadataTest extends \PHPUnit_Framework_TestCase 'module' => 'CoreHome', 'action' => 'render', ), - 'uniqueId' => 'widgetCoreHomerender' + 'uniqueId' => 'widgetCoreHomerender', + 'isWide' => false ), $widget1); $this->assertSame(array( 'name' => 'NestedName2', @@ -176,7 +178,8 @@ class WidgetMetadataTest extends \PHPUnit_Framework_TestCase 'module' => 'CoreHome', 'action' => 'render', ), - 'uniqueId' => 'widgetCoreHomerender' + 'uniqueId' => 'widgetCoreHomerender', + 'isWide' => false ), $widget2); } @@ -219,6 +222,7 @@ class WidgetMetadataTest extends \PHPUnit_Framework_TestCase 'action' => 'render', ), 'uniqueId' => 'widgetCoreHomerender', + 'isWide' => false ), array ( 'name' => 'NestedName2', 'module' => 'CoreHome', @@ -228,7 +232,8 @@ class WidgetMetadataTest extends \PHPUnit_Framework_TestCase 'module' => 'CoreHome', 'action' => 'render', ), - 'uniqueId' => 'widgetCoreHomerender' + 'uniqueId' => 'widgetCoreHomerender', + 'isWide' => false ) ) ), $metadata); |