Expectation should be first parameter
This commit is contained in:
parent
08ee2fcf93
commit
665100b471
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue