Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-12-09 01:29:56 +0300
committermatt <matt@59fd770c-687e-43c8-a1e3-f5a4ff64c105>2009-12-09 01:29:56 +0300
commit9515ccff0f96bd4051150d5443ea8399e5e1c475 (patch)
tree604e3c05fc2076aad200d02db5870502a82cc837 /plugins/Actions
parent41bd412cdb9af796066394237f7aa5e65828a8b0 (diff)
Refs #708 updating tests
Diffstat (limited to 'plugins/Actions')
-rw-r--r--plugins/Actions/tests/Actions.test.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/Actions/tests/Actions.test.php b/plugins/Actions/tests/Actions.test.php
index 08f11e81ef..a7f0197334 100644
--- a/plugins/Actions/tests/Actions.test.php
+++ b/plugins/Actions/tests/Actions.test.php
@@ -56,7 +56,11 @@ class Test_Piwik_Actions extends UnitTestCase
),
array(
'params' => array( 'name' => '', 'type' => Piwik_Tracker_Action::TYPE_ACTION_NAME),
- 'expected' => array( 'index' ),
+ 'expected' => array( Zend_Registry::get('config')->General->action_default_name_when_not_defined ),
+ ),
+ array(
+ 'params' => array( 'name' => '', 'type' => Piwik_Tracker_Action::TYPE_ACTION_URL),
+ 'expected' => array( Zend_Registry::get('config')->General->action_default_url_when_not_defined ),
),
array(
'params' => array( 'name' => 'http://example.org/download.zip', 'type' => Piwik_Tracker_Action::TYPE_DOWNLOAD),