Merge pull request #9710 from owncloud/fix-failing-unit-test-on-MapperTestUtility.php-master
kill unused require of MapperTestUtility.php
This commit is contained in:
commit
d632b9e58e
1 changed files with 5 additions and 4 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue