From 9ee8c60b5ff66d605fe91cec428fd0e207e72881 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20M=C3=BCller?= <thomas.mueller@tmit.eu>
Date: Thu, 17 Jul 2014 16:35:00 +0200
Subject: [PATCH] kill unused require of MapperTestUtility.php

---
 .../appframework/db/{MapperTest.php => mappertest.php}   | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
 rename tests/lib/appframework/db/{MapperTest.php => mappertest.php} (99%)

diff --git a/tests/lib/appframework/db/MapperTest.php b/tests/lib/appframework/db/mappertest.php
similarity index 99%
rename from tests/lib/appframework/db/MapperTest.php
rename to tests/lib/appframework/db/mappertest.php
index 4ddc4ef042..42aa1ade81 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
+}
-- 
GitLab