diff options
author | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-05-27 21:24:03 +0400 |
---|---|---|
committer | vipsoft <vipsoft@59fd770c-687e-43c8-a1e3-f5a4ff64c105> | 2010-05-27 21:24:03 +0400 |
commit | 0143693d06dfeb781dab95102751ed832b872f3c (patch) | |
tree | b5b6c6ecba30e1bc7afce40c76f53eecc4e48327 /plugins/SitesManager/tests | |
parent | dd78f63f14fa0761d4fb20bfb4030b9e93e3d95b (diff) |
refs #1378
Diffstat (limited to 'plugins/SitesManager/tests')
-rw-r--r-- | plugins/SitesManager/tests/SitesManager.test.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/SitesManager/tests/SitesManager.test.php b/plugins/SitesManager/tests/SitesManager.test.php index e7b6ecc15a..fbaf8c7adf 100644 --- a/plugins/SitesManager/tests/SitesManager.test.php +++ b/plugins/SitesManager/tests/SitesManager.test.php @@ -780,7 +780,7 @@ class Test_Piwik_SitesManager extends Test_Database $idsite = Piwik_SitesManager_API::getInstance()->addSite("site1",array('http://example.org'), '', '', $newDefaultTimezone); $site = new Piwik_Site($idsite); $this->assertEqual($site->getTimezone(), $newDefaultTimezone); - $this->assertEqual($site->getCreationDate(), date('Y-m-d')); + $this->assertEqual($site->getCreationDate()->toString(), date('Y-m-d')); $this->assertEqual($site->getCurrency(), $newDefaultCurrency); $this->assertEqual($site->getExcludedIps(), ''); $this->assertEqual($site->getExcludedQueryParameters(), ''); |