Skip to content
Snippets Groups Projects
Commit 665100b4 authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Expectation should be first parameter

parent 08ee2fcf
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment