diff options
author | mattpiwik <matthieu.aubry@gmail.com> | 2007-09-06 21:52:15 +0400 |
---|---|---|
committer | mattpiwik <matthieu.aubry@gmail.com> | 2007-09-06 21:52:15 +0400 |
commit | 4cbe7488c1787f39e9b9d09dac375704e31fe2ae (patch) | |
tree | f85d1cec7a9c0014a98d1ded46dd2a45e6aba1ed /tests | |
parent | 5e5e0b75e0991fe78838b556244333c23390f4b1 (diff) |
The full page with all the reports is OK
missing the Actions plugins reports (all page views, etc..)
looks quite nice actually :)
git-svn-id: http://dev.piwik.org/svn/trunk@62 59fd770c-687e-43c8-a1e3-f5a4ff64c105
Diffstat (limited to 'tests')
-rw-r--r-- | tests/modules/PHP_Related.test.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/tests/modules/PHP_Related.test.php b/tests/modules/PHP_Related.test.php index 019cee94e7..48e0ff7405 100644 --- a/tests/modules/PHP_Related.test.php +++ b/tests/modules/PHP_Related.test.php @@ -41,6 +41,20 @@ class Test_PHP_Related extends UnitTestCase { } + public function testMergeArray() + { + $a = array('label' => 'test'); + $b = array('test' => 1, 1 => 2100); + + $expected = array( + 'label' => 'test', + 'test' => 1, 1 => 2100 + ); + +// $this->assertEqual( array_merge($a,$b), $expected); + $this->assertEqual( $a+$b, $expected); + } + /** * test reading static attribute of a variable class */ |