summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2014-07-17 16:35:00 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2014-07-17 17:18:42 +0200
commita66ee261870cda36e667dba0f240799805123b94 (patch)
treed36c0e0592d7906aa67441d6108d02d3d82e435d /tests
parente2f2313eb5a18529f80598e6c4a5756c47aafbe1 (diff)
downloadnextcloud-server-a66ee261870cda36e667dba0f240799805123b94.tar.gz
nextcloud-server-a66ee261870cda36e667dba0f240799805123b94.zip
kill unused require of MapperTestUtility.php
Diffstat (limited to 'tests')
-rw-r--r--tests/lib/appframework/db/mappertest.php (renamed from tests/lib/appframework/db/MapperTest.php)9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/lib/appframework/db/MapperTest.php b/tests/lib/appframework/db/mappertest.php
index 4ddc4ef0422..42aa1ade810 100644
--- a/tests/lib/appframework/db/MapperTest.php
+++ b/tests/lib/appframework/db/mappertest.php
@@ -25,9 +25,7 @@
namespace OCP\AppFramework\Db;
use \OCP\IDb;
-
-
-require_once __DIR__ . '/MapperTestUtility.php';
+use Test\AppFramework\Db\MapperTestUtility;
/**
* @method integer getId()
@@ -54,6 +52,9 @@ class ExampleMapper extends Mapper {
class MapperTest extends MapperTestUtility {
+ /**
+ * @var Mapper
+ */
private $mapper;
public function setUp(){
@@ -276,4 +277,4 @@ class MapperTest extends MapperTestUtility {
$result = $this->mapper->findAllEntities($sql);
$this->assertEquals(array($entity1, $entity2), $result);
}
-} \ No newline at end of file
+}