aboutsummaryrefslogtreecommitdiff
path: root/engine/tests/api/plugins.php
diff options
context:
space:
mode:
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-21 19:34:38 +0000
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-04-21 19:34:38 +0000
commitb4e32ff5baa72ebbc61ce983feb78b82f1bd9684 (patch)
tree73ce43215a6977375813324cb9e89a45edda1fd1 /engine/tests/api/plugins.php
parent1f2a6757d617cfe191fc44b06cbb791b30cd5710 (diff)
downloadelgg-b4e32ff5baa72ebbc61ce983feb78b82f1bd9684.tar.gz
elgg-b4e32ff5baa72ebbc61ce983feb78b82f1bd9684.tar.bz2
Fixes #3310. Removed old on_activate unit tests.
git-svn-id: http://code.elgg.org/elgg/trunk@9008 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine/tests/api/plugins.php')
-rw-r--r--engine/tests/api/plugins.php10
1 files changed, 0 insertions, 10 deletions
diff --git a/engine/tests/api/plugins.php b/engine/tests/api/plugins.php
index 853af45e9..00b0d4513 100644
--- a/engine/tests/api/plugins.php
+++ b/engine/tests/api/plugins.php
@@ -105,8 +105,6 @@ class ElggCorePluginsAPITest extends ElggCoreUnitTest {
array('type' => 'plugin', 'name' => 'facebook_connect', 'version' => 1.0),
),
- 'on_activate' => array('setup_function'),
- 'on_deactivate' => array('teardown_function'),
'admin_interface' => 'simple',
'activate_on_install' => true
);
@@ -279,14 +277,6 @@ class ElggCorePluginsAPITest extends ElggCoreUnitTest {
$this->assertEqual($this->manifest17->getConflicts(), array());
}
- public function testElggPluginManifestGetOnActivate() {
- $this->assertEqual($this->manifest18->getOnActivate(), array('setup_function'));
- }
-
- public function testElggPluginManifestGetOnDeactivate() {
- $this->assertEqual($this->manifest18->getOnDeactivate(), array('teardown_function'));
- }
-
public function testElggPluginManifestGetAdminInterface() {
$this->assertEqual($this->manifest18->getAdminInterface(), 'simple');
}