mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-18 15:33:15 +00:00
delete unecessary comments
fix typo fix alignment fix unit tests fix test
This commit is contained in:
@@ -167,7 +167,7 @@ class OrderTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
|||||||
$receveid = array(static::$records['record_1']->get_serialize_key() => static::$records['record_1']);
|
$receveid = array(static::$records['record_1']->get_serialize_key() => static::$records['record_1']);
|
||||||
|
|
||||||
return \set_order::create(
|
return \set_order::create(
|
||||||
$this->app['phraseanet.appbox'], new RecordsRequest($receveid, new ArrayCollection($receveid)), 'I need this photos', new \DateTime('+10 minutes')
|
$this->app['phraseanet.appbox'], new RecordsRequest($receveid, new ArrayCollection($receveid)), self::$user_alt2 ,$usage, new \DateTime('+10 minutes')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@@ -52,13 +52,11 @@ class record_adapterTest extends PhraseanetPHPUnitAuthenticatedAbstract
|
|||||||
|
|
||||||
$em->persist($basket);
|
$em->persist($basket);
|
||||||
$em->flush();
|
$em->flush();
|
||||||
/**
|
|
||||||
* @todo CHANGE
|
|
||||||
*/
|
|
||||||
$receveid = array(static::$records['record_1']->get_serialize_key() => static::$records['record_1']);
|
$receveid = array(static::$records['record_1']->get_serialize_key() => static::$records['record_1']);
|
||||||
|
|
||||||
return \set_order::create(
|
return \set_order::create(
|
||||||
$this->app['phraseanet.appbox'], new RecordsRequest($receveid, new ArrayCollection($receveid), $basket), 'I need this photos', new \DateTime('+10 minutes')
|
\appbox::get_instance(self::$core), new RecordsRequest($receveid, new ArrayCollection($receveid), $basket), 'I need this photos', new \DateTime('+10 minutes')
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user