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-18 18:24:27 -0500
commit4a5856e451b95bc85a2f3e80d76aebbd37ec39b1 (patch)
treecd8f7e10f01658944951d4e47e3c9921180a0274
parent079a7bd1cf925b2b624d0af491347f997e863d0b (diff)
downloadelgg-4a5856e451b95bc85a2f3e80d76aebbd37ec39b1.tar.gz
elgg-4a5856e451b95bc85a2f3e80d76aebbd37ec39b1.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);