Commit 665100b4 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Expectation should be first parameter

parent 08ee2fcf
......@@ -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
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment