aboutsummaryrefslogtreecommitdiff
path: root/engine/tests/api/plugins.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-04 21:45:55 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-02-04 21:45:55 +0000
commit595ebfe0b3771df92055334bfe5da8b29c840c3b (patch)
tree7e8c94dc64423cd7f9b5ae73809f52cc4888d896 /engine/tests/api/plugins.php
parentd05471b1ad10cf4fe68687edad52a9ab1d2da379 (diff)
downloadelgg-595ebfe0b3771df92055334bfe5da8b29c840c3b.tar.gz
elgg-595ebfe0b3771df92055334bfe5da8b29c840c3b.tar.bz2
Renamed 'name' to 'plugin' for priority req. Updated unit tests and docs.
git-svn-id: http://code.elgg.org/elgg/trunk@8019 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/tests/api/plugins.php')
-rw-r--r--engine/tests/api/plugins.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/engine/tests/api/plugins.php b/engine/tests/api/plugins.php
index 997d69fb7..ac1278410 100644
--- a/engine/tests/api/plugins.php
+++ b/engine/tests/api/plugins.php
@@ -80,6 +80,7 @@ class ElggCorePluginsAPITest extends ElggCoreUnitTest {
array('type' => 'plugin', 'name' => 'fake_plugin', 'version' => '1.0'),
array('type' => 'plugin', 'name' => 'profile', 'version' => '1.0'),
array('type' => 'plugin', 'name' => 'profile_api', 'version' => '1.3', 'comparison' => 'lt'),
+ array('type' => 'priority', 'priority' => 'after', 'plugin' => 'profile'),
),
'screenshot' => array(
@@ -183,6 +184,7 @@ class ElggCorePluginsAPITest extends ElggCoreUnitTest {
array('type' => 'plugin', 'name' => 'fake_plugin', 'version' => '1.0', 'comparison' => 'ge'),
array('type' => 'plugin', 'name' => 'profile', 'version' => '1.0', 'comparison' => 'ge'),
array('type' => 'plugin', 'name' => 'profile_api', 'version' => '1.3', 'comparison' => 'lt'),
+ array('type' => 'priority', 'priority' => 'after', 'plugin' => 'profile'),
);
$this->assertEqual($this->package18->getManifest()->getRequires(), $requires);