mirror of
https://github.com/alchemy-fr/Phraseanet.git
synced 2025-10-17 15:03:25 +00:00
delete unecessary comments
fix typo fix alignment fix unit tests fix test
This commit is contained in:
@@ -67,7 +67,7 @@ class RecordsRequest extends ArrayCollection
|
||||
{
|
||||
return new ArrayCollection(
|
||||
array_filter($this->toArray(), function(\record_adapter $record) {
|
||||
return $record->is_grouping();
|
||||
return $record->is_grouping();
|
||||
})
|
||||
);
|
||||
}
|
||||
|
@@ -167,7 +167,7 @@ class OrderTest extends \PhraseanetWebTestCaseAuthenticatedAbstract
|
||||
$receveid = array(static::$records['record_1']->get_serialize_key() => static::$records['record_1']);
|
||||
|
||||
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->flush();
|
||||
/**
|
||||
* @todo CHANGE
|
||||
*/
|
||||
|
||||
$receveid = array(static::$records['record_1']->get_serialize_key() => static::$records['record_1']);
|
||||
|
||||
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