diff options
author | mattab <matthieu.aubry@gmail.com> | 2013-04-26 18:47:27 +0400 |
---|---|---|
committer | mattab <matthieu.aubry@gmail.com> | 2013-05-06 12:36:58 +0400 |
commit | fa4b7c4aad5f6e715f922f3528560139ecf462ef (patch) | |
tree | 31cc17c8a584b62719196b7524f191a4fe5c3e9c | |
parent | 0c362e50b1cdbe7c8369ab51cbfb368240ef5dc5 (diff) |
Refs #3913 adding XML files so the build passes, but tests output is empty for now. Also moving to private unused methods (lets delete any unused method)
5 files changed, 10 insertions, 2 deletions
diff --git a/plugins/Dashboard/API.php b/plugins/Dashboard/API.php index 14a058b2aa..7c5df1e858 100644 --- a/plugins/Dashboard/API.php +++ b/plugins/Dashboard/API.php @@ -46,7 +46,7 @@ class Piwik_Dashboard_API * * @return array[] */ - public function getDashboards() + private function getDashboards() { $dashboards = $this->getUserDashboards(); @@ -62,7 +62,7 @@ class Piwik_Dashboard_API * * @return array[] */ - public function getDefaultDashboard() + private function getDefaultDashboard() { $defaultLayout = $this->dashboard->getDefaultLayout(); $defaultLayout = $this->dashboard->decodeLayout($defaultLayout); diff --git a/tests/PHPUnit/Integration/expected/test_ImportLogs__Dashboard.getUserDashboards.xml b/tests/PHPUnit/Integration/expected/test_ImportLogs__Dashboard.getUserDashboards.xml new file mode 100644 index 0000000000..c234bed59e --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_ImportLogs__Dashboard.getUserDashboards.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result />
\ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Dashboard.getUserDashboards.xml b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Dashboard.getUserDashboards.xml new file mode 100644 index 0000000000..c234bed59e --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_OneVisitorTwoVisits__Dashboard.getUserDashboards.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result />
\ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_noVisit_PeriodIsLast__Dashboard.getUserDashboards.xml b/tests/PHPUnit/Integration/expected/test_noVisit_PeriodIsLast__Dashboard.getUserDashboards.xml new file mode 100644 index 0000000000..c234bed59e --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_noVisit_PeriodIsLast__Dashboard.getUserDashboards.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result />
\ No newline at end of file diff --git a/tests/PHPUnit/Integration/expected/test_noVisit__Dashboard.getUserDashboards.xml b/tests/PHPUnit/Integration/expected/test_noVisit__Dashboard.getUserDashboards.xml new file mode 100644 index 0000000000..c234bed59e --- /dev/null +++ b/tests/PHPUnit/Integration/expected/test_noVisit__Dashboard.getUserDashboards.xml @@ -0,0 +1,2 @@ +<?xml version="1.0" encoding="utf-8" ?> +<result />
\ No newline at end of file |