Expectation should be first parameter

This commit is contained in:
Lukas Reschke 2012-10-18 18:34:24 +03:00
parent 08ee2fcf93
commit 665100b471

View file

@ -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);
}
}