summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorGeorg Ehrke <developer@georgehrke.com>2015-04-19 20:16:56 +0200
committerGeorg Ehrke <developer@georgehrke.com>2015-04-19 20:16:56 +0200
commit8f51efc49e2c144698da7f2ec772d111814fce32 (patch)
treef756a92b3129fd31cb29b60fd74885532b9b9bdc /tests
parentd877c1f1e12d1ac03b99e172f15804b503400139 (diff)
downloadnextcloud-server-8f51efc49e2c144698da7f2ec772d111814fce32.tar.gz
nextcloud-server-8f51efc49e2c144698da7f2ec772d111814fce32.zip
get rid of OC_Geo
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/geo.php23
1 files changed, 0 insertions, 23 deletions
diff --git a/tests/lib/geo.php b/tests/lib/geo.php
deleted file mode 100644
index 0678297b55a..00000000000
--- a/tests/lib/geo.php
+++ /dev/null
@@ -1,23 +0,0 @@
-<?php
-/**
- * Copyright (c) 2012 Lukas Reschke <lukas@statuscode.ch>
- * This file is licensed under the Affero General Public License version 3 or
- * later.
- * See the COPYING-README file.
- */
-
-class Test_Geo extends \Test\TestCase {
-
- /**
- * @medium
- */
- function testTimezone() {
- $result = OC_Geo::timezone(3, 3);
- $expected = 'Africa/Porto-Novo';
- $this->assertEquals($expected, $result);
-
- $result = OC_Geo::timezone(-3,-3333);
- $expected = 'Pacific/Enderbury';
- $this->assertEquals($expected, $result);
- }
-}