diff options
author | Brett Profitt <brett.profitt@gmail.com> | 2011-04-26 15:03:02 -0400 |
---|---|---|
committer | Brett Profitt <brett.profitt@gmail.com> | 2011-04-26 15:03:02 -0400 |
commit | c80ba5aa03264dd64c20ed8ae222e87f9371a44d (patch) | |
tree | 9355d87a9ab4570b9e54685ad9869cd4fedd392f /engine/tests/api | |
parent | 581c2d35ae053aed07a607b8bb844603c48b7c2f (diff) | |
parent | 632cf13234d04a3f6b7acf67866a82e0bebde55c (diff) | |
download | elgg-c80ba5aa03264dd64c20ed8ae222e87f9371a44d.tar.gz elgg-c80ba5aa03264dd64c20ed8ae222e87f9371a44d.tar.bz2 |
Merge remote branch 'upstream/master'
Diffstat (limited to 'engine/tests/api')
-rw-r--r-- | engine/tests/api/metastrings.php | 2 | ||||
-rw-r--r-- | engine/tests/api/plugins.php | 10 |
2 files changed, 1 insertions, 11 deletions
diff --git a/engine/tests/api/metastrings.php b/engine/tests/api/metastrings.php index e5cfe80e1..9b5d7ee4e 100644 --- a/engine/tests/api/metastrings.php +++ b/engine/tests/api/metastrings.php @@ -164,7 +164,7 @@ class ElggCoreMetastringsTest extends ElggCoreUnitTest { } $options = array(); - $this->assertFalse(elgg_is_valid_options_for_batch_operation($options), $type); + $this->assertFalse(elgg_is_valid_options_for_batch_operation($options, $type)); foreach ($required as $key) { $options = array(); 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'); } |