summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2012-10-18 18:34:24 +0300
committerLukas Reschke <lukas@statuscode.ch>2012-10-18 18:34:24 +0300
commit665100b4715cb277a3f308cff149d1f97c0292c7 (patch)
tree88698a0c3dad935ffc3142c1fe0d01c65487d8c0 /tests
parent08ee2fcf93322f2deba913b096e08277c37e1a94 (diff)
downloadnextcloud-server-665100b4715cb277a3f308cff149d1f97c0292c7.tar.gz
nextcloud-server-665100b4715cb277a3f308cff149d1f97c0292c7.zip
Expectation should be first parameter
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/geo.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/lib/geo.php b/tests/lib/geo.php
index 2b3599ab9b9..bb27f034307 100644
--- a/tests/lib/geo.php
+++ b/tests/lib/geo.php
@@ -10,10 +10,10 @@ class Test_Geo extends UnitTestCase {
function testTimezone() {
$result = OC_Geo::timezone(3,3);
$expected = 'Africa/Porto-Novo';
- $this->assertEquals($result, $expected);
+ $this->assertEquals($expected, $result);
$result = OC_Geo::timezone(-3,-3333);
$expected = 'Pacific/Enderbury';
- $this->assertEquals($result, $expected);
+ $this->assertEquals($expected, $result);
}
} \ No newline at end of file