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
|
@ -25,9 +25,7 @@
|
||||||
namespace OCP\AppFramework\Db;
|
namespace OCP\AppFramework\Db;
|
||||||
|
|
||||||
use \OCP\IDb;
|
use \OCP\IDb;
|
||||||
|
use Test\AppFramework\Db\MapperTestUtility;
|
||||||
|
|
||||||
require_once __DIR__ . '/MapperTestUtility.php';
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @method integer getId()
|
* @method integer getId()
|
||||||
|
@ -54,6 +52,9 @@ class ExampleMapper extends Mapper {
|
||||||
|
|
||||||
class MapperTest extends MapperTestUtility {
|
class MapperTest extends MapperTestUtility {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var Mapper
|
||||||
|
*/
|
||||||
private $mapper;
|
private $mapper;
|
||||||
|
|
||||||
public function setUp(){
|
public function setUp(){
|
||||||
|
@ -276,4 +277,4 @@ class MapperTest extends MapperTestUtility {
|
||||||
$result = $this->mapper->findAllEntities($sql);
|
$result = $this->mapper->findAllEntities($sql);
|
||||||
$this->assertEquals(array($entity1, $entity2), $result);
|
$this->assertEquals(array($entity1, $entity2), $result);
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in New Issue