aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash.costello@gmail.com>2011-11-18 18:24:27 -0500
committercash <cash.costello@gmail.com>2011-11-28 21:44:00 -0500
commitd3f8a31e976c7bc74a65096f63ad188a638e670c (patch)
tree36ea97b3a7194afae8f41490d2911b5292d1cddb
parent75ec4931c7b0c02b7ab7fd73dab5229c316995c3 (diff)
downloadelgg-d3f8a31e976c7bc74a65096f63ad188a638e670c.tar.gz
elgg-d3f8a31e976c7bc74a65096f63ad188a638e670c.tar.bz2
Fixes #4133 updated type in plugin manifest test
-rw-r--r--engine/classes/ElggPluginManifest.php2
-rw-r--r--engine/tests/api/plugins.php3
2 files changed, 3 insertions, 2 deletions
diff --git a/engine/classes/ElggPluginManifest.php b/engine/classes/ElggPluginManifest.php
index eacc16455..7592eb667 100644
--- a/engine/classes/ElggPluginManifest.php
+++ b/engine/classes/ElggPluginManifest.php
@@ -553,7 +553,7 @@ class ElggPluginManifest {
}
/**
- * Returns the admin interface to use.
+ * Should this plugin be activated when Elgg is installed
*
* @return bool
*/
diff --git a/engine/tests/api/plugins.php b/engine/tests/api/plugins.php
index a0faaff0e..ac38f34ea 100644
--- a/engine/tests/api/plugins.php
+++ b/engine/tests/api/plugins.php
@@ -105,7 +105,8 @@ class ElggCorePluginsAPITest extends ElggCoreUnitTest {
array('type' => 'plugin', 'name' => 'facebook_connect', 'version' => 1.0),
),
- 'activate_on_install' => true
+ // string because we are reading from a file
+ 'activate_on_install' => 'true',
);
$this->assertEqual($this->manifest18->getManifest(), $manifest_array);