mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-23 18:03:17 +00:00
Fix unit tests
This commit is contained in:
@@ -104,12 +104,6 @@ class TaskManipulatorTest extends \PhraseanetTestCase
|
||||
$this->assertEquals(0, $task->getCrashed());
|
||||
}
|
||||
|
||||
public function testGetRepository()
|
||||
{
|
||||
$manipulator = new TaskManipulator(self::$DI['app']['EM'], $this->createNotifierMock(), self::$DI['app']['translator'], self::$DI['app']['repo.tasks']);
|
||||
$this->assertSame(self::$DI['app']['EM']->getRepository('Phraseanet:Task'), $manipulator->getRepository());
|
||||
}
|
||||
|
||||
public function testCreateEmptyCollection()
|
||||
{
|
||||
$collection = $this->getMockBuilder('collection')
|
||||
|
Reference in New Issue
Block a user